Giter Site home page Giter Site logo

r-knitr-book's Introduction

R과 Knitr를 활용한 데이터 연동형 문서 만들기 예제 코드##

버전업에 대하여

RStudio, rmarkdown(R markdown version 2) 환경에서 작업하기

  • 책을 집필할 때와 방법이 많이 바뀌었다. 니터 자체는 큰 변화가 없으나, 알 마크다운 패키지가 버전업이 되어 rmarkdown이 되었고, 이 rmarkdown은 팬독이란 도구를 내부적으로 사용한다.

  • 자세한 내용은 알마크다운 사이트를 참고한다.

예제 코드 사용법

  • 2 장 '필요한 오픈소스 프로그램 설치'에 따라 설치한 R과 RStudio에서 코드를 실행한다고 하는 것을 기준으로 했다.

  • 특정 R 패키지가 필요한 경우에 컴퓨터에 설치되어 있지 않다면 오류를 보낸다. 이런 경우에는 해당 패키지를 책의 2장에서 설명한 대로 설치한 다음 실행하면 된다.

  • 책에 있는 그대로의 코드를 옮기는 의미가 없다고 생각했기 때문에, 책의 내용을 매뉴얼로 정리하는 형태가 많다.

다운로드

  • 이 화면의 오른쪽을 보면 Download ZIP이라고 하는 단추가 있다. 이 단추를 누르면 전체 내용이 다운로드된다.

다운로드후 사용

  • 각각의 폴더는 RStudio 프로젝트로 구성되어 있다. 따라서, 각 폴더에는 확장자가 .Rproj라고 되어 있는 파일이 있는데, 이 파일을 클릭하면 RStudio가 해당 디렉터리를 워킹디렉터리로 설정하면서 열린다.

  • 각 폴더에는 chapterIntro.md라는 사용법을 간단하게 소개한 파일을 있다. 꼭 확인하고 자료들을 확인하기를 권한다.

r-knitr-book's People

Contributors

koseokbum avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.