User Tools

Site Tools


r

This is an old revision of the document!


베이스 설치하기 base installation

Windows

  1. Open http://www.r-project.org/ in your browser.
  2. Click on “CRAN”. You’ll see a list of mirror sites, organized by country.
  3. Select a site near you.
  4. Click on “Windows” under “Download and Install R”.
  5. Click on “base”.
  6. Click on the link for downloading the latest version of R (an .exe file).
  7. When the download completes, double-click on the .exe file and answer the usual questions.

OS X

  1. Open http://www.r-project.org/ in your browser.
  2. Click on “CRAN”. You’ll see a list of mirror sites, organized by country.
  3. Select a site near you.
  4. Click on “MacOS X”.
  5. Click on the .pkg file for the latest version of R, under “Files:”, to download it.
  6. 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.

방문 http://www.r-project.org
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")
> install.packages("package name")

packages?

  • R 은 base와 package들로 이루어져 있음
  • base를 제외하고 방법적으로 독특하거나 많이 사용하지 않는 통계기능들은 package로 개발이 되어 개별적으로 인스톨하도록 함. 따라서, 통계방법을 사용하면서 점차 특별한 packages들을 사용하게 될 수 있음.
r.1472013123.txt.gz · Last modified: 2016/08/24 13:02 by hkimscil

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki