I try to install the caret
package and I do dev in RStudio server via the web. The install goes well in terminal-R and I can load the package but when I go to RStudio it says its not there. And when I try to install it on RStudio server it gives me non-zero exit status so it fails...
Is there a way to make RStudio server to behave the same as the terminal R?
Compare the output of
.libPaths()
between your two cases; also look into
IP <- installed.packages()
and learn about the directory arguments to install.packages()
.
It seems when I login to rstudio server with user ruser things just bail out when I do library("caret")
It works when I login as ubuntu.
Try not to that as super-user but not at least it works!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.