2016년 11월 12일 토요일

How to set up R Notebook

Requirement:
  • Install r (2016.11.14) v3.2.3
    • $ sudo apt-get install r-base
  • Download and install RStudio v1.0.136 (2017.02.13)
    • Installer version
  • Short key
    • ctrl + shift + enter : Run the code chunk
    • ctrl + shift + k : preview
    • ctrl + alt + i : new code chunk

Issue:
  • For publishing R Markdown document, if you meet following message when installing "RCurl";

Cannot find curl-config  
ERROR: configuration failed for package ‘RCurl’ 
    • Then, install libcurlxxxx-dev as following.

      sudo apt-get install libcurl4-gnutls-dev
  • When installing R Markdown, if you could not install stringr package, then remove 00LOCK-XXX folder in the R package directory.

댓글 없음:

댓글 쓰기