r
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
r [2016/09/07 07:58] – 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 | + | |
- | | 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. | + | |
- | + | ||
- | ====== 패키지 설치 package installation ====== | + | |
- | __install.packages()__ | + | |
- | | + | |
- | > install.packages(" | + | |
- | __packages? | + | |
- | * R 은 base와 package들로 이루어져 있음 | + | |
- | * base를 제외하고 방법적으로 독특하거나 많이 사용하지 않는 통계기능들은 package로 개발이 되어 개별적으로 인스톨하도록 함. 따라서, 통계방법을 사용하면서 점차 특별한 packages들을 사용하게 될 수 있음. | + | |
- | + | ||
- | [[: | + | |
- | + | ||
- | ^ Operator | + | |
- | | [ [[ | Indexing | + | |
- | | :: ::: | Access variables in a name space | | | + | |
- | | $ @ | Component extraction, slot extraction | + | |
- | | '' | + | |
- | | - + | Unary minus and plus | | | + | |
- | | : | Sequence creation | + | |
- | | %any% | Special operators | + | |
- | | * / | Multiplication, | + | |
- | | + - | Addition, subtraction | + | |
- | | == != < > <= >= | Comparison | + | |
- | | ! | Logical negation | + | |
- | | & && | + | |
- | | '' | + | |
- | | ~ | Formula | + | |
- | | -> ->> | + | |
- | | = | Assignment (right to left) | Recipe 2.2 | | + | |
- | | <- << | + | |
- | | ? | Help | Recipe 1.7 | | + | |
+ | ---- | ||
+ | Data available | ||
+ | {{: | ||
r.1473204528.txt.gz · Last modified: 2016/09/07 07:58 by hkimscil