※ 引述《ffirebat (QQ)》之铭言:
: I tried to install package "randomForest" in workstation. But I got the
: message "mkdir: 无法建立目录‘/usr/local/lib/R/site-library/00LOCK’:
: Permission denied ERROR: failed to lock directory '/usr/local/lib/R/site-libr
: ary' for modifying". What should I do to slove this problem?
: tks
You can try: (from the tutorial document)
options(CRAN = "http://cran.us.r-project.org/")
install.packages("randomForest")
library(randomForest)