Question: RStudio Cloud : Problem in Package Installing
0
gravatar for Rishabh Jha
23 days ago by
India
Rishabh Jha0 wrote:

I have been using Rstudio Cloud as of now. On installing packages it says "Installation path not writable" and in some says "non zero exit status". If anyone could help In troubleshooting this problem. I would be so thankful.

> BiocManager::install("class")
  Bioconductor version 3.10 (BiocManager 1.30.10), R 3.6.0 (2019-04-26)
  Installing package(s) 'class'
  trying URL 'http://package-proxy/src/contrib/class_7.3-17.tar.gz'
  Content type 'application/x-tar' length 95221 bytes (92 KB)
  ==================================================
  downloaded 92 KB

  * installing *binary* package ‘class’ ...
  * DONE (class)

  The downloaded source packages are in
     ‘/tmp/Rtmpxw0Bib/downloaded_packages’
  Installation path not writeable, unable to update packages: boot, class, cluster,
         KernSmooth, lattice, MASS, Matrix, mgcv, nlme, nnet, spatial, survival


  > BiocManager::install("org.Mm.eg.db", lib = "/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/")       
  Bioconductor version 3.10 (BiocManager 1.30.10), R 3.6.0 (2019-04-26)
  Installing package(s) 'org.Mm.eg.db'
  trying URL 'https://bioconductor.org/packages/3.10/data/annotation/src/contrib/org.Mm.eg.db_3.10.0.tar.gz'
  Content type 'application/x-gzip' length 72221575 bytes (68.9 MB)
  ==================================================
  downloaded 68.9 MB

  * installing *source* package ‘org.Mm.eg.db’ ...
  ** using staged installation
  ** R
  ** inst
  Warning in file.append(to[okay], from[okay]) :
  write error during file append
  ** byte-compile and prepare package for lazy loading
  Error in lazyLoadDBinsertValue(data, datafile, ascii, compress, envhook) : 
  write failed
  Calls: <Anonymous> ... lazyLoadDBinsertVariable -> <Anonymous> -> lazyLoadDBinsertValue
  Execution halted
  ERROR: lazy loading failed for package ‘org.Mm.eg.db’
  * removing ‘/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/org.Mm.eg.db’

 The downloaded source packages are in
‘/tmp/Rtmpxw0Bib/downloaded_packages’ 
 Warning message:
 In install.packages(...) :
 installation of package ‘org.Mm.eg.db’ had non-zero exit status
ADD COMMENTlink written 23 days ago by Rishabh Jha0
1

type .libPaths() make sure you have ownership & write permission to all those directories sudo chown -R $USER:$USER /home/rstudio-user/R/ sudo chmod -R +w /home/rstudio-user/R/

ADD REPLYlink written 23 days ago by Jeremy Leipzig19k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 806 users visited in the last hour