Archive for the R Language Category

Note: R Language, something for beginner

Posted in R Language with tags on 2014 年 07 月 25 日 by Kun-Yi

getwd() # get work directory
setwd(path) # set work directory to path
dir() # get file list of work directory
source(script) # run “script"
library() # get all available package
search() # list all loaded package
library(package) # load a package
help.start() # launch online help
library(“Rcmdr") # launch RCommander
ls() # list all objects in memory
rm( list = ls()) # clean all objects