Re: [问题] about install packages

楼主: Tonnny (^~^)   2005-04-28 11:47:13
※ 引述《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)

Links booklink

Contact Us: admin [ a t ] ucptt.com