Re: [问题] about install packages

楼主: untitled (Causality)   2005-04-28 13:27:48
※ 引述《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
Try to install packages somewhere else, since you cannot
write things in /usr/local/lib/...
You may either specify the location of your directory in
function install.packages, or set the environment variable R_LIBS
as the directory.
For more detail, please see
http://cran.r-project.org/doc/manuals/R-admin.pdf

Links booklink

Contact Us: admin [ a t ] ucptt.com