Search
Question: Cannot load bioclite packages
0
gravatar for bnkanyika
3 months ago by
bnkanyika0
bnkanyika0 wrote:

Hi,

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("https://bioconductor.org/biocLite.R")
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 3 months ago by Martin Morgan ♦♦ 20k • written 3 months ago by bnkanyika0
0
gravatar for Martin Morgan
3 months ago by
Martin Morgan ♦♦ 20k
United States
Martin Morgan ♦♦ 20k 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 3 months ago by Martin Morgan ♦♦ 20k
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.2.0
Traffic: 146 users visited in the last hour