From dstr7320 at uni.sydney.edu.au  Sat Feb 20 10:00:09 2016
From: dstr7320 at uni.sydney.edu.au (Dario Strbenac)
Date: Sat, 20 Feb 2016 09:00:09 +0000
Subject: [Rd] R Package Installation Ignores libPaths Setting
In-Reply-To: <56C57AA0.2020503@stats.ox.ac.uk>
References: <SN1PR0101MB14390FF9CD858614E238134BCDAE0@SN1PR0101MB1439.prod.exchangelabs.com>,
	<56C57AA0.2020503@stats.ox.ac.uk>
Message-ID: <SN1PR0101MB143937FB6A94AA54C672A003CDA00@SN1PR0101MB1439.prod.exchangelabs.com>

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 R_LIBS=/users/stgrad/dario/tmp/
$ Rscript -e ".libPaths()"
[1] "/dskh/nobackup/biostat/Bioconductor" "/usr/local/lib/R/site-library"      
[3] "/usr/lib/R/site-library"             "/usr/lib/R/library"

Is there some other crucial information which I have missed ?

--------------------------------------
Dario Strbenac
PhD Student
University of Sydney
Camperdown NSW 2050
Australia


[Rd] R Package Installation Ignores libPaths Setting
Dario Strbenac