Cannot load bioclite packages
1
0
Entering edit mode
bnkanyika • 0
@bnkanyika-13673
Last seen 7.4 years ago

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()

bioclite • 1.3k views
ADD COMMENT
0
Entering edit mode
@martin-morgan-1513
Last seen 5 months ago
United States

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 COMMENT

Login before adding your answer.

Traffic: 517 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6