Tech Tips

  1. Uncategorized
  2. 415 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.

Uncategorized recent post

  1. Run Amazon FreeRTOS on M5Stack Core2 for AWS …

  2. Udacity Self-Driving Car Engineer Nanodegree …

  3. Install sbt 1.0.0 and run sample template

  4. Visualization of Neural Network and its Train…

  5. [Machine Learning]Created docker image includ…

関連記事

PAGE TOP