プログラミング + アカデミック + 何か面白いこと

  1. Programming
  2. 0 view

How to install R which is free ware for Statistical Analysis

R
Pocket

Excel is very useful, but there is more suitable software for data analysis and visualization with statistics and machine learning.
That’s R. R provides interfaces to analyze data with mathematics easily.
In this article, I’ll share how to install R on Windows.

Target Environment

  • OS
    • Windows7 Enterprise Service Pack1
  • R
    • 3.2.0

Install Flow

It’s easy to install R. Just run installer.

  1. Click here and move to download page
  2. Click “base”
  3. ダウンロードサイト

  4. Click “Download R 3.2.0 for Windows” and start to download
  5. インストーラーダウンロード

  6. Dboule-click downloaded installer
  7. Just push “Next” button like following
  8. 言語選択
    インストーラ2
    インストーラ3
    インストーラ4
    インストーラ5
    インストーラ6
    インストーラ7
    インストーラ8
    インストーラ9
    インストーラ10

Behavior Check

Let’s check R behavior a little bit.

  1. Double-click shortcut icon (you can choose 32bit or 64bit version)
  2. ショートカット
    ワークスペース

  3. Check built-in dataset and visualization
  4. > iris
    > plot(iris)
    

    iris
    plot

How to install library

R has many kind of library about statistics and machine learning.
Actually, I download new library and analyze data when I do new analysis.
I’d like to share how to install library in R.

  1. Click “Package” and “Install Package” in menu
  2. ライブラリ1

  3. Choose “Japan(Tokyo)” as mirror site to download library
  4. ライブラリ2

  5. Choose library which you want to install (in this time choose “arules” which is association analysis library
  6. ライブラリ3

  7. Check loading library
  8. > library(arules)
    > data(Groceries)
    > Groceries
    

    ライブラリ4

Then you have knowledge about installing and basic operation.

Pocket

Programming recent post

  1. Install sbt 1.0.0 and run sample template

  2. [Machine Learning]Created docker image includ…

  3. [Node.js]How to write batch script with Node.…

  4. [Play][Scala]Develop Request Driven Batch Usi…

  5. [OpenCV][Ruby]Auto check web page design corr…

関連記事

PAGE TOP