_ Prerequisite
_ Install&Setup
_ Install on Windows
- Step.1
- Access the download site and download installer.
- Step.2
- Choose language.
- Step.3
- Click "Next" button.
- Step.4
- Click "Next" button.
- Step.5
- Click "Next" button.
- Step.6
- Click "Next" button.
- Step.7
- Click "Next" button.
- Step.8
- Click "Next" button.
- Step.9
- Click "Next" button.
- Step.10
- Click "Finish" button.
_ HowToUse
_ Install modules
- Step.1
- Install modules.
> install.packages(<Package Name>)
(Example)
> install.packages("ggplot2")
- Step.2
- Load modules.
> library("ggplot2")
You can see library list as below.
> library
_ Read data
- Step.1
- Import data.
> data<-read.csv("<CSV file>", header=TRUE)
- Step.2
- Create scatter plot.
> plot (data$X, data$Y)
_ Execute R script file.
Execute the following command to run R script file.
$ R CMD <R Script File Name>
(Example)
$ R CMD init.r
_ Author
S.Yatsuzuka