| コマンド | 説明 | 備考 |
| setwd("/home/hoge") | cd /home/hoge | |
| getwd() | pwd | |
| read.table() | テキストファイルのデータをデータフレームとして読み込む | read.table("hoge.csv", header=T, skip=1, sep=",") |
| read.csv() | CSVファイルのオープン | read.tableのラッパークラス, read.table("hoge.csv", header=T, sep=",", quote = "\", dec = "." ) |
| plot() | plot(x, y, xlim=c(0,100) |
setwd("/home/hoge") # cd: 作業ディレクトリを変更する
getwd() # pwd: 現在の作業ディレクトリを確認する