Re: [Rd] R Package Installation Ignores libPaths Setting

2016-02-20 Thread peter dalgaard
Works for me. Which shell are you using? Are you setting .libPaths elsewhere? Peter-Dalgaards-MacBook-Air:F pd$ R_LIBS=~/tmp Rscript -e '.libPaths()' [1] "/Users/pd/tmp" [2] "/Library/Frameworks/R.framework/Versions/3.2/Resources/library"

Re: [Rd] R Package Installation Ignores libPaths Setting

2016-02-20 Thread Dario Strbenac
Good day, I believe from the documentation that folders in R_LIBS should appear in the output of .libPaths, but they do not. The documentation contains "The library search path is initialized at startup from the environment variable R_LIBS ..." However, $ export

Re: [Rd] R Package Installation Ignores libPaths Setting

2016-02-18 Thread Prof Brian Ripley
You misunderstand what .libPaths does: it changes the path in the current session only. Installation uses a different R process. Set R_LIBS to change the library path for new sessions: see ?.libPath . On 18/02/2016 07:00, Dario Strbenac wrote: Good day, If the library path is changed with

[Rd] R Package Installation Ignores libPaths Setting

2016-02-17 Thread Dario Strbenac
Good day, If the library path is changed with .libPaths, the command install.packages("/nb/dario/Biostrings_2.39.9.tar.gz", repos=NULL) fails with ** testing if installed package can be loaded Error : package ‘S4Vectors’ required by ‘Biostrings’ could not be found However, running