r
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
r [2016/08/24 13:02] – hkimscil | r [2017/11/13 09:53] (current) – hkimscil | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== 베이스 설치하기 base installation ====== | + | < |
- | __Windows__ | + | |
- | - Open http://www.r-project.org/ | + | |
- | - Click on “CRAN”. You’ll see a list of mirror sites, organized by country. | + | |
- | - Select a site near you. | + | |
- | - Click on “Windows” under “Download and Install R”. | + | |
- | - Click on “base”. | + | |
- | - Click on the link for downloading the latest version of R (an .exe file). | + | |
- | - When the download completes, double-click on the .exe file and answer the usual questions. | + | |
- | __OS X__ | + | |
- | - Open http:// | + | |
- | - Click on “CRAN”. You’ll see a list of mirror sites, organized by country. | + | |
- | - Select a site near you. | + | |
- | - Click on “MacOS X”. | + | |
- | - Click on the .pkg file for the latest version of R, under “Files: | + | |
- | - When the download completes, double-click on the .pkg file and answer the usual questions. | + | |
- | __Linux or Unix__ | + | |
- | The major Linux distributions have packages for installing R. Here are some examples: | + | |
- | ^ Distribution ^ Package name ^ | + | |
- | | Ubuntu or Debian | + | |
- | | Red Hat or Fedora | + | |
- | | Suse | R-base | + | |
- | Use the system’s package manager to download and install the package. Normally, you will need the root password or sudo privileges; otherwise, ask a system administrator to perform the installation. | + | ---- |
+ | Data available | ||
+ | {{:r:lowbwt.xls}} [[:r:lowbwt dataset]] | ||
- | |||
- | 방문 http:// | ||
- | Download 밑에 CRAN 클릭 방문 | ||
- | 가장 가까운 Mirror 사이트 선택 | ||
- | 자신의 컴퓨팅 환경에 맞는 R 버전 선택 | ||
- | * Download R for Linux | ||
- | * Download R for (Mac) OS X | ||
- | * Download R for Windows | ||
- | 선택 base | ||
- | 선택 Download R 3.x.x for Windows (xx megabytes, 32/64 bit) | ||
- | |||
- | ====== 패키지 설치 package installation ====== | ||
- | __install.packages()__ | ||
- | > help(" | ||
- | > install.packages(" | ||
- | __packages? | ||
- | * R 은 base와 package들로 이루어져 있음 | ||
- | * base를 제외하고 방법적으로 독특하거나 많이 사용하지 않는 통계기능들은 package로 개발이 되어 개별적으로 인스톨하도록 함. 따라서, 통계방법을 사용하면서 점차 특별한 packages들을 사용하게 될 수 있음. |
r.1472013123.txt.gz · Last modified: 2016/08/24 13:02 by hkimscil