Question: Cannot load bioclite packages
gravatar for bnkanyika
6 months ago by
bnkanyika0 wrote:


I hope you are all well.

I am trying to install the bioclite packages but keep getting the error below, (and a pop up option to install my own library) would you please advise? 

> source("")
Warning in install.packages("BiocInstaller", repos = a["BioCsoft", "URL"]) :
  'lib = "C:/Program Files/R/R-3.4.1/library"' is not writable
Error in install.packages("BiocInstaller", repos = a["BioCsoft", "URL"]) : 
  unable to install packages
> biocLite()

ADD COMMENTlink modified 6 months ago by Martin Morgan ♦♦ 21k • written 6 months ago by bnkanyika0
gravatar for Martin Morgan
6 months ago by
Martin Morgan ♦♦ 21k
United States
Martin Morgan ♦♦ 21k wrote:

R installs packages in the first directory of .libPaths(). From ?.libPaths

     By default 'R_LIBS' is unset, and 'R_LIBS_USER' is set to
     directory 'R/R.version$platform-library/x.y' of the home directory
     (or 'Library/R/x.y/library' for CRAN macOS builds), for R x.y.z.

I guess that you have the environment variable R_LIBS_USER set to a path that does not exist, or to a path that is not writable, instead of to something like R/i386-pc-mingw32-library/3.4 where the middle entry is from R.version$platform.

ADD COMMENTlink written 6 months ago by Martin Morgan ♦♦ 21k
Please log in to add an answer.


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