Bioconductor and R_LIBS
1
0
Entering edit mode
Seth Falcon ★ 7.4k
@seth-falcon-992
Last seen 10.2 years ago
Hi Steve, Steve Taylor <stephen.taylor@molecular-sciences.ox.ac.uk> writes: > I had read that it is possible to point to a personal library > directory by setting the environment variable R_LIBS. Even when I do > this, when loading a library it still appears to be trying to write to > the system R/2.0.1/lib/R/library/liblisting.Rda. > > For example: > > > .libPaths() > [1] "/home/cbrg/validate/myRlibs" "/package/R/2.0.1/lib/R/library" > > library(affy) > Loading required package: Biobase > Loading required package: tools > Welcome to Bioconductor > Vignettes contain introductory material. To view, > simply type: openVignette() > For details on reading vignettes, see > the openVignette help page. > Loading required package: reposTools > Warning messages: > 1: Incorrect permissions to edit package database, > /package/R/2.0.1/lib/R/library/liblisting.Rda in: > save.locLib(locLibList, curLib) > 2: Incorrect permissions to edit package database, > /package/R/2.0.1/lib/R/library/liblisting.Rda in: > save.locLib(locLibList, curLib) Can you post the output of sessionInfo() after reproducing the session as above? > In this case, this doesn't stop the user using the affy package (in > fact this seems to be an issue with reposTools) but the warnings are > a little disconcerting. Yes, this is not desired/intended behavior and we'll see what we can do to resolve it. Note that setting R_LIBS has an effect on where packages will be installed (after setting it) and the search path for packages. Since all the relevant packages are in the system-level package lib, setting R_LIBS does not make any difference in your case (and that is as expected). Best, + seth
affy affy • 797 views
ADD COMMENT
0
Entering edit mode
Steve Taylor ▴ 40
@steve-taylor-1168
Last seen 10.2 years ago
Hi Seth, > Can you post the output of sessionInfo() after reproducing the session > as above? > > >>In this case, this doesn't stop the user using the affy package (in >>fact this seems to be an issue with reposTools) but the warnings are >>a little disconcerting. > > > Yes, this is not desired/intended behavior and we'll see what we can > do to resolve it. > Here's the full session including sessionInfo : > library(affy) Loading required package: Biobase Loading required package: tools Welcome to Bioconductor Vignettes contain introductory material. To view, simply type: openVignette() For details on reading vignettes, see the openVignette help page. Loading required package: reposTools Warning message: Incorrect permissions to edit package database, /package/R/2.0.1/lib/R/library/liblisting.Rda in: save.locLib(locLibList, curLib) > sessionInfo() R version 2.0.1, 2004-11-15, sparc-sun-solaris2.9 attached base packages: [1] "tools" "methods" "stats" "graphics" "grDevices" "utils" [7] "datasets" "base" other attached packages: affy reposTools Biobase "1.5.8" "1.5.2" "1.5.0" > Thanks, Steve
ADD COMMENT

Login before adding your answer.

Traffic: 497 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