# Name:連小力 # ID:B01921001 # Subject:Install software and first test R code # Date: 2/21, 2017 # set working directory, 設定目錄 setwd("L:/MyData") getwd() # generate 3 data: t, x(t), y(t) t <- 0:100 t x <- 2*pi*t/100 x y <- sin(x) y # plot these data plot( t ) plot( x, y ) # use dataset women summary( women ) plot( women ) # save data save.image("HW01_B01921001_Install.RData") savehistory("HW01_B01921001_Install.Rhistory")