1 Practical Data Science with R PART 3

  • Slides: 34
Download presentation
1 Practical Data Science with R PART 3 Delivering Results - CH. 10 Documentation

1 Practical Data Science with R PART 3 Delivering Results - CH. 10 Documentation and deployment KIM JEONG RAE UOS. DML. 2014. 11. 8.

Contents Using knitr to produce milestone documentation Using comments and version control for running

Contents Using knitr to produce milestone documentation Using comments and version control for running documentation 2

Making La. Tex Documentation with R(2/7) La. Tex[레이텍] 설치 URL : http: //faq. ktug.

Making La. Tex Documentation with R(2/7) La. Tex[레이텍] 설치 URL : http: //faq. ktug. org/faq/Ko. Te. XLive 7

Making La. Tex Documentation with R(3/7) 인코딩 : UTF-8 통일 La. Tex : 편집

Making La. Tex Documentation with R(3/7) 인코딩 : UTF-8 통일 La. Tex : 편집 -> 환경설정 R-Studio : tool-> Global Option R Sweave setting Weave Rnw files : knitr Typeset La. Tex : Xe. La. Tex 8

Making La. Tex Documentation with R(4/7) R studio에서 Sweave 파일 만들기 9

Making La. Tex Documentation with R(4/7) R studio에서 Sweave 파일 만들기 9

Making La. Tex Documentation with R(5/7) Rnw 파일 작성 10

Making La. Tex Documentation with R(5/7) Rnw 파일 작성 10

Making La. Tex Documentation with R(6/7) Pdf 파일 작성 Compile PDF 실행 11

Making La. Tex Documentation with R(6/7) Pdf 파일 작성 Compile PDF 실행 11

Making La. Tex Documentation with R(7/7) 변환 생성 pdf파일 확인 12

Making La. Tex Documentation with R(7/7) 변환 생성 pdf파일 확인 12

Making Markdown Documentation with R(2/5) R studio에서 마크다운 파일 생성 14

Making Markdown Documentation with R(2/5) R studio에서 마크다운 파일 생성 14

Making Markdown Documentation with R(3/5) R studio에서 마크다운 파일 생성 15

Making Markdown Documentation with R(3/5) R studio에서 마크다운 파일 생성 15

Making Markdown Documentation with R(4/5) Rmd 파일 생성 Knit HTML 실행 16

Making Markdown Documentation with R(4/5) Rmd 파일 생성 Knit HTML 실행 16

Making Markdown Documentation with R(5/5) 변환 생성 html 파일 확인 17

Making Markdown Documentation with R(5/5) 변환 생성 html 파일 확인 17

Using comments and version control R 주석 : # Project 관리 Git 18

Using comments and version control R 주석 : # Project 관리 Git 18

R code에 Comment 주석 : # 19

R code에 Comment 주석 : # 19

R에서 Project 관리(2/2) New Project 생성 New Directory → Empty Project → Create New

R에서 Project 관리(2/2) New Project 생성 New Directory → Empty Project → Create New Project R code 및 결과물 지정된 폴더에 저장되어 Project 관리 21

Version control – setting Git(1/6) Git 설치 Cygwin 기반 URL : http: //cygwin. com

Version control – setting Git(1/6) Git 설치 Cygwin 기반 URL : http: //cygwin. com 네이트브 버전(msys. Git) URL : http: //msysgit. github. com/ 24

Version control – setting Git(2/6) Git 설치 Cygwin 기반 25

Version control – setting Git(2/6) Git 설치 Cygwin 기반 25

Version control – setting Git(3/6) Git 설치 Cygwin 기반

Version control – setting Git(3/6) Git 설치 Cygwin 기반

Version control – setting Git(4/6) Git 설치 Cygwin 기반

Version control – setting Git(4/6) Git 설치 Cygwin 기반

Version control – setting Git(5/6) Git 설치 네이트브 버전(msys. Git) Setting - Git

Version control – setting Git(5/6) Git 설치 네이트브 버전(msys. Git) Setting - Git

Version control – setting Git(6/6) Git 설치 네이트브 버전(msys. Git) Setting - Git

Version control – setting Git(6/6) Git 설치 네이트브 버전(msys. Git) Setting - Git

Version control – setting Github(1/2) Github 가입 / Repository 생성 URL : https: //github.

Version control – setting Github(1/2) Github 가입 / Repository 생성 URL : https: //github. com 30

Version control – setting Github(2/2) Github Repository 생성 31

Version control – setting Github(2/2) Github Repository 생성 31

Version control – Github에 R file push (1/4) Rstudio에 Git executable Option 설정 32

Version control – Github에 R file push (1/4) Rstudio에 Git executable Option 설정 32

Version control – Github에 R file push (3/4) Git tap 활용하여 commit 34

Version control – Github에 R file push (3/4) Git tap 활용하여 commit 34

Version control – Github에 R file push (4/4) Github에 Push 35

Version control – Github에 R file push (4/4) Github에 Push 35