레이블이 tidyverse인 게시물을 표시합니다. 모든 게시물 표시
레이블이 tidyverse인 게시물을 표시합니다. 모든 게시물 표시

2017년 1월 3일 화요일

R packages


  • R installation: v3.3.2 (2017.02.13)
    • https://cran.r-project.org/
      • $ sudo apt-get install r-base
      • 만약, r 최신 버전이 설치되지 않는다면, 직접 sources.list 파일에 cran 미러 주소 입력 및 apt-get update 해준 뒤 다시 실행 필요.
        • $ sudo gedit /etc/apt/sources.list 
        • 만약, 이 과정에서 해당 미러의 공개키 없다고 나오면, 다음 블로그 참조하여, gpg 만들기
        • http://tip.daum.net/question/58336339
  • dplyr
    • 공식 튜토리얼: https://cran.rstudio.com/web/packages/dplyr/vignettes/introduction.html
    • 예시, 설명: https://github.com/justmarkham/dplyr-tutorial
      • notebook, youtube
    • 참고할 만한 블로그: http://blog.daum.net/buillee/269

  • tidyverse
    • Hadley Wickham의 주요 package를 모았음 (2016.9)
    • ggplot2, purrr, readr, tibble, tidyr, dplyr
    • install.packages("tidyverse")
      • $ sudo apt install libxml2-dev libssl-dev libcurl4-openssl-dev

  • R for data science [book]
    • Hadley Wickham이 공동저자로 참여한 R 관련 도서(2016)
    • http://r4ds.had.co.nz/index.html

  • bookdown: Authoring Books and Technical Documents with R Markdown
    • R Markdown으로 출간 도서 및 기술 문서 작성하는 방법
    • https://bookdown.org/yihui/bookdown/

  • TSdist: distance 계산
    • error-in-installing-rgl-package because of X11
      • $ sudo apt install r-cran-rgl
      • $ sudo apt install xorg openbox
      • $ sudo apt install libX11-dev freeglut3 freeglut3-dev
  • rattle
    • $ sudo apt install libxml2-dev r-cran-xml