r
This is an old revision of the document!
베이스 설치하기 base installation
Windows
- Open http://www.r-project.org/ in your browser.
- 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://www.r-project.org/ in your browser.
- 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:”, to download it.
- 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 | r-base |
Red Hat or Fedora | R.i386 |
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.
패키지 설치 package installation
install.packages()
> help("install.packages") > install.packages("package name")
packages?
- R 은 base와 package들로 이루어져 있음
- base를 제외하고 방법적으로 독특하거나 많이 사용하지 않는 통계기능들은 package로 개발이 되어 개별적으로 인스톨하도록 함. 따라서, 통계방법을 사용하면서 점차 특별한 packages들을 사용하게 될 수 있음.
r.1472013175.txt.gz · Last modified: 2016/08/24 13:02 by hkimscil