Question: Unable to install a Bioconductor package to local directory
gravatar for tagirdzh
5 weeks ago by
tagirdzh0 wrote:

Hi, I am trying to install Biostrings package. The problem is that I am working on a server where I don't have sudo privileges, so I install all packages into my directory. Fist, when I followed the installation instructions, I got this message


use 'source("")' or

  'source("")' to update

  'BiocInstaller' after library("utils")


Error in bioClite() : could not find function "bioClite"

When, I tried to specify my local utils library, and got this error:



Installing package into ‘/usr/local/lib/R/site-library’

(as ‘lib’ is unspecified)

Warning in install.packages("BiocInstaller", repos = a["BioCsoft", "URL"]) :

  'lib = "/usr/local/lib/R/site-library"' is not writable

Error in install.packages("BiocInstaller", repos = a["BioCsoft", "URL"]) : 

  unable to install packages


I tried to specify 'lib', but the source function doesn't take this argument.

Is there a way to install Bioconductor to my folder?



ADD COMMENTlink modified 5 weeks ago by James W. MacDonald46k • written 5 weeks ago by tagirdzh0
gravatar for James W. MacDonald
5 weeks ago by
United States
James W. MacDonald46k wrote:

You can use .libPaths  (note that this function has a prepended period) to create a library path that is writeable, and then when you source biocLite it should install there.

ADD COMMENTlink written 5 weeks ago by James W. MacDonald46k

This worked. Thanks!

ADD REPLYlink written 5 weeks ago by tagirdzh0
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: 197 users visited in the last hour