Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

“Non Zero Exit Status” R 3.6.0 "Biobase"

I need to install different packages on R. The OS is ubuntu for windows. When I try "BiocManager::install("Biobase") I get the following error:

** R
** data
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
mv: cannot move '/home/mark/R/x86_64-pc-linux-gnu-library/3.6/00LOCK-Biobase/00new/Biobase' to '/home/mark/R/x86_64-pc-linux-gnu-library/3.6/Biobase': Permission denied
ERROR:   moving to final location failed

There seems to be something wrong with the permission to move certain files.. I already tried giving permission to write for everyone into the /3.6 directory, This didn't change anything.

Any solutions?

like image 990
Mark Wekking Avatar asked May 21 '19 14:05

Mark Wekking


1 Answers

Apparently, this is a new feature in 3.6. But this should solve your problem:

Sys.setenv(R_INSTALL_STAGED = FALSE)

like image 108
jake Avatar answered Oct 03 '22 02:10

jake