CSS with regex for id

https://stackoverflow.com/questions/42497352/css-with-regex-for-id <div id=”sections”> <div id=”s10″>one</div> <div id=”s2″>two</div> <div id=”s30″>three</div> <div id=”t1″>four</div> </div>  id$=’0′  는 id가 0으로 끝나는 거  id^=’s’  는 id 가 s로 시작하는 거  #sections div[id^=’s.*0′] { color: red; } #sections div[id$=’0′][id^=’s’] { color: red; }   https://developer.mozilla.org/pl/docs/Web/CSS/Attribute_selectors /* <a> elements with a title attribute */ a[title] { color: Read more…

popup size

g_fun.R bsModalNoFoot – size bsModalNoFoot <- function (id, title, trigger, …, easyClose = FALSE, size) { if (!missing(size)) { if (size == “large”) { size = “modal-lg” } else if (size == “small”) { size = “modal-sm” } size <- paste(“modal-dialog”, size) } else { size <- “modal-dialog” } bsTag Read more…

shinyjs run javascript

https://www.jqueryscript.net/demo/Animated-Circles-Loading-Spinner-jQuery-g-spinner/ src\css\gspinner.css src\js\g-spinner.js How to use it: 1. Load the minified versions of the g-spinner plugins JS & CSS in your webpage which has jQuery library loaded. <link rel=”stylesheet” href=”gspinner.min.css”> <script src=”jquery.min.js”></script> <script src=”g-spinner.min.js”></script> 2. Create a DIV element where we want to insert the loading indicator into: <div id=”loader”> </div> 3. We need a Read more…

Ninja Presentation

https://github.com/yihui/xaringan/blob/master/inst/rmarkdown/templates/xaringan/skeleton/skeleton.Rmd https://slides.yihui.name/xaringan/ https://www.r-pkg.org/pkg/xaringan with xaringan (사륜안 from 나루토) devtools::install_github(“yihui/xaringan”) File -> New File -> R Markdown -> From Template -> Ninja Presentation remark.js에 R Markdown를 접목시킨  Help ?xaringan::moon_reader        

Pandoc certification https

https://github.com/ramnathv/rcstatebin/issues/6 https://github.com/rstudio/rmarkdown/issues/228 self_contained: no     https://bbs.archlinux.org/viewtopic.php?id=181369 pandoc-static AUR output file: l001.knit.md pandoc: Could not fetch https://upload.wikimedia.org/wikipedia/commons/thumb/6/68/Overfitted_Data.png/300px-Overfitted_Data.png HttpExceptionRequest Request { host = “upload.wikimedia.org” port = 443 secure = True requestHeaders = [] path = “/wikipedia/commons/thumb/6/68/Overfitted_Data.png/300px-Overfitted_Data.png” queryString = “” method = “GET” proxy = Nothing rawBody = False redirectCount = 10 Read more…

Error: pandoc version 1.12.3 or higher is required and was not found

  에러메세지 Error: pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available). Execution halted   Homebrew  ⇒ brew install pandoc Updating Homebrew… ==> Auto-updated Homebrew! Updated 3 taps (caskroom/cask, homebrew/core, homebrew/science). ==> Updated Formulae bear gjs homebrew/science/graph-tool homebrew/science/quaff libwebsockets selenium-server-standalone caddy gtef homebrew/science/littler Read more…

reveal.js :: R Presentations

https://github.com/rstudio/revealjs http://rmarkdown.rstudio.com/revealjs_presentation_format.html https://support.rstudio.com/hc/en-us/articles/200486468-Authoring-R-Presentations http://rmarkdown.rstudio.com/revealjs_presentation_format.html#installation http://hakim.se/ http://lab.hakim.se/reveal-js/#/ revealjs를 이용한 RStudio의 web presentation     Overview RStudio내의 reveal.js기반에 web Framework  [ reveal.js   : revealjs_presentation() ] Rendering을 여러방법(R console, Terminal command-line) 중  RStudio 를 활용. Display 모드에서,  전체 화면: F overview: O Rendering을 여러방법(R console, Terminal command-line) 중  RStudio 를 활용.   신규생성 New Read more…

R Markdown Websites :: _output.yml

http://rmarkdown.rstudio.com/rmarkdown_websites.html see the documentation on includes for more details. the are two output options which are automatically set when rendering a site: The self_contained option is set FALSE; and The lib_dir option is set to site_libs. html_document: theme: united toc: yes highlight: textmate css: styles.css include: after_body: footer.html footer.html <p>Copyright Read more…

R Markdown Websites :: _site.yml

http://rmarkdown.rstudio.com/rmarkdown_websites.html   name: “my-website” navbar: title: “My Website” left: – text: “Home” icon: fa-home href: index.html – text: “About” href: about.html – text: “More” menu: – text: “AAAAAA” – text: “A1” href: a1.html – text: “A2” href: a2.html – text: “—” – text: “BBBBBB” – text: “B1” href: b1.html right: Read more…

R Markdown Websites :: 정적인 웹사이트

정적인 웹사이트 -> Dashboard -> Shiny   http://rmarkdown.rstudio.com/rmarkdown_websites.html 정적인 웹사이트 구조 _site.yml index.Rmd _output.yml R Markdown Websites Overview rmarkdown::render_site함수를 사용하여 R markdown문서들을 website로 만들수 있다.  install.packages(“rmarkdown”) Simple Example Home, About 페이지와  navigation bar 가 있는 간단한 웹페이지  https://github.com/rstudio/rmarkdown-website-examples/tree/master/hello-website. 필요 파일 사이트 구성을 위해서는 일단 두개의 파일이 필요하다. ( _site.yml과 index.Rmd Read more…

Hello, Dynamic Doc

http://rmarkdown.rstudio.com/gallery.html Rmd 문서 생성 방법1.  file.edit(“HelloDoc.Rmd”) 방법2. formatR, caTools, bitops, base64enc, rmarkdown 팩키지 없데이트 Save, 실행 (Knitr) 및 결과 (Viewer화면탭에서) 결과확인 문서생성과정 확인      

Dynamic Document 소개

Reproducible Doc Dynamic Doument 제작 단계 Step1 :  Plain text file을 생성 (.Rmd) Code + Text <=> Programming언어 +Markup언어   <=>  R + rMarkDown  [by Knitr] cf.   S언어 + TeX  [by Sweave]                R  + LaTex  (+ HTML + Markdown + reStructuredText ) Step2 : Read more…

BOOK :: R과 Knitr를 활용한 데이터 연동형 문서 만들기

http://www.acornpub.co.kr/book/r-knitr https://www.youtube.com/watch?v=lMpX9KXd9AY Dynamic Documents with R and knitr – Yihui Xie’s book check out Yihui Xie’s book, Dynamic Documents with R and knitr. https://royalsociety.org/topics-policy/projects/science-public-enterprise/Report/       http://www.kyobobook.co.kr/product/detailViewKor.laf?barcode=9788960775510#N http://www.kyobobook.co.kr/product/detailViewKor.laf?ejkGb=KOR&mallGb=KOR&barcode=9788960779501&orderClick=LEA&Kc=   1부: 다이내믹 문서 다이내믹 문서 Knitr, 알마크다운 R 패키지, 팬독 2부: 다양한 포맷의 문서 HTML, PDF, Word, presentation 3부: 인터랙티브 Read more…