Closed tjakobi closed 7 years ago
What are possible options? Installation via sudo is out of question since it's not available on clusters. We could use custom library paths, but those would have to be set in all R scripts correctly.
A user can create/edit file .Renviron
at his home dir to update the location:
## Linux
R_LIBS=~/R/library
## Windows
R_LIBS=C:/R/library
The home dir can be found from R itself irregardless of the platform:
path.expand("~")
I know that, but that has to go in the documentation. We could create the file automatically, but have to make sure to not overwrite any files the user may already have. That's a similar problem with the .bashrc file and the $PATH variable.
I will add it to the doc, but this is a general problem of any R libs on servers, which is not about the package itself.
Normally the lib dir is not writable, the installation does not check for this (or sets an alternative path). Therefore the install fails: