[R] R minor version
henrik.bengtsson at gmail.com
Fri Jan 12 20:09:56 CET 2018
This can be controlled by environment variables R_LIBS, R_LIBS_SITE,
and R_LIBS_USER, which support "conversion specifiers". See
help(".libPaths") or aliases help("R_LIBS") etc. You can set these in
in any of the Renviron files (~/.Renviron, /path/to/R/etc/Renviron,
It sounds like you're trying to set up a site-wide package library to
be shared among users. If so, add a line:
and make sure that folder exists, otherwise it's silently dropped from
On Fri, Jan 12, 2018 at 8:42 AM, William Dunlap via R-help
<r-help at r-project.org> wrote:
>  "poof/x86_64-w64-mingw32/3.4"
> Bill Dunlap
> TIBCO Software
> wdunlap tibco.com
> On Fri, Jan 12, 2018 at 4:49 AM, Loris Bennett <loris.bennett at fu-berlin.de>
>> When I install a package as a non-root user, it gets saved in a path
>> such as
>> for any R version 3.4.x. Thus, if I want to install the packages
>> somewhere else, as root say, I might do
>> In this case I would then want to construct the appropriate path in,
>> say, /etc/Rprofile to allow the packages to be found.
>> However, using R.Version() gives me
>> > R.Version()$minor
>>  "4.3"
>> I can obviously extract the "real" minor version from the string, but
>> shouldn't there be a more straightforward way to obtain the part of the
>> version that is used in .libPaths() by default?
>> Or am I misunderstanding something?
>> Dr. Loris Bennett (Mr.)
>> ZEDAT, Freie Universität Berlin Email loris.bennett at fu-berlin.de
>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> PLEASE do read the posting guide http://www.R-project.org/
>> and provide commented, minimal, self-contained, reproducible code.
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help