Production Level Knowledge & Tips

  1. 未分類
  2. 95 view

How to install R which is free ware for Statistical Analysis

R

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”
ダウンロードサイト
  1. Click “Download R 3.2.0 for Windows” and start to download
インストーラーダウンロード
  1. Dboule-click downloaded installer
  2. Just push “Next” button like following
言語選択
インストーラ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)
ショートカット
ワークスペース
  1. Check built-in dataset and visualization
> 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
ライブラリ1
  1. Choose “Japan(Tokyo)” as mirror site to download library
ライブラリ2
  1. Choose library which you want to install (in this time choose “arules” which is association analysis library
ライブラリ3
  1. Check loading library
> library(arules)
> data(Groceries)
> Groceries
ライブラリ4
Then you have knowledge about installing and basic operation.

未分類 recent post

  1. Install sbt 1.0.0 and run sample template

  2. Visualization of Neural Network and its Train…

  3. [Machine Learning]Created docker image includ…

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

  5. [Hive]Get top n items for each category

関連記事

PAGE TOP