Displaying 20 results from an estimated 2000 matches similar to: "problem with personal library (R_LIBS_USER) when R_LIBS is defined (patch)"
2020 Mar 19
0
R CMD check --as-cran attempts to hide R_LIBS_USER but fails
On 18 March 2020 at 19:19, Henrik Bengtsson wrote:
| AFAIU, 'R CMD check --as-cran' tries to hide any site and user package
| libraries by setting R_LIBS_SITE and R_LIBS_USER. However, contrary
What makes you think that? AFAIK --as-cran just sets a bunch of the (nearly
countless) environment variables (all described in R Inst+Admin, as I recall)
to a set of values "close to"
2020 Mar 19
1
R CMD check --as-cran attempts to hide R_LIBS_USER but fails
On Wed, Mar 18, 2020 at 8:04 PM Dirk Eddelbuettel <edd at debian.org> wrote:
>
>
> On 18 March 2020 at 19:19, Henrik Bengtsson wrote:
> | AFAIU, 'R CMD check --as-cran' tries to hide any site and user package
> | libraries by setting R_LIBS_SITE and R_LIBS_USER. However, contrary
>
> What makes you think that? AFAIK --as-cran just sets a bunch of the (nearly
2020 Mar 19
2
R CMD check --as-cran attempts to hide R_LIBS_USER but fails
AFAIU, 'R CMD check --as-cran' tries to hide any site and user package
libraries by setting R_LIBS_SITE and R_LIBS_USER. However, contrary
to R_LIBS_SITE, it fails for R_LIBS_USER and the user's personal
library is still available for test scripts. Should I revise my
assumptions, or is that intentional?
The short version. Shouldn't:
$ R_LIBS_USER='' Rscript --vanilla -e
2009 Apr 02
0
R_LIBS in Windows Vista
Hello,
I am trying to install R and have it running through ESS on a Vista machine that is not mine (I am only familiar with Windows XP and Ubuntu Linux) so please pardon my unfamiliarity...
The Rgui.exe installation works fine and package installation also appears to work fine. The base packages are installed in
C:/Program Files/R/R-2.8.0/library/
and user-installed packages are installed in
2015 Mar 30
2
Debian Testing: ~/.Renviron seems to not being read (R_LIBS not set)
Hi,
I have Debian Testing running on a Lenovo Thinkpad X1
Carbon (2015, 3rd gen.). I would like to have a package library
independent of the installed R version. Under Ubuntu, I used to
have the following line in ~/.Renviron:
R_LIBS=/usr/local/R/library:/usr/lib/R/site-library This worked
fine and /usr/local/R/library showed up in .libPaths().
However, under Debian (with the same ~/.Renviron),
2009 Oct 27
0
help.start() only recognizes forward slashes in R_LIBS_USER which is not the default case
I've found that the HTML help system started via help.start() requires
all forward slashes in R_LIBS_USER otherwise the Packages page is
corrupt/non-working. Note that by default R_LIBS_USER is set by R on
startup.
Example 1:
With R_LIBS_USER=C:/Users/JohnDoe/R/win-library/2.10
> help.start() [and go to "Packages"]
If nothing happens, you should open
2009 Jul 21
1
Customization options with .Renviron, R_LIBS, .Rprofile etc
Hi,
I am interested in customizing the installation of R. I have
gone through the ?R Installation and Administration? manual. But some
of the stuff is not clear to me and I would like to get clarifications
on the following points (for a Windows installation with
R_HOME=C:\\R\\R-2.9.1 ) :
1. I understand that I need to create a
file, .Renviron with the following path : R_HOME\\etc\\.Renviron where
2015 Mar 30
2
Debian Testing: ~/.Renviron seems to not being read (R_LIBS not set)
Dear Johannes, Dear Dirk,
Thanks a lot for helping. Here is the missing information.
Here is how I installed R. This is basically how Martin Maechler
showed me to install R under Ubuntu (in several versions so that they
are also recognized by ESS). My goal is to adjust this to make it work
for Debian:
1) sudo emacs /etc/apt/sources.list # then add:
deb
2010 Jul 01
1
How best to set library search path so user libraries come first
I want my local libraries to have priority over the system installed
ones, which, as far as I can make out from help(".libPaths"), means they
have to come first in that list (it doesn't actually_say_ so, but that
seems to be the idea).
We have R_LIBS_USER which looks made for specifying where I keep my own
libraries. Unfortunately it comes last in .libPaths() [which appears to
2010 Jun 04
0
Renviron settings for Linux Distributions: please tell me R Core's advice
Dear R-devel:
i have noticed a little wrinkle in R packaging for RPM systems and
have communicated with the package maintainer at RedHat Tom Callaway
(see far below).
Here is the question:
Where does R Core Team want packagers to fiddle around with R library paths?
Currently, the RPM Spec file used for EPEL's R (For
Fedora/Redhat/Centos,etc) adds a line in R_HOME/etc/Renviron like
this:
2010 Jun 03
1
How to go about getting a change in the SPEC file from which R is built on EPEL?
I asked a couple of months ago in r-sig-fedora about a difference I
noticed between Ubuntu and RedHat/Fedora. Now I think I've figured
out the cause is a little issue in packaging but I don't know how to
get it fixed.
On Ubuntu, the setup is like this. It i is controlled in a file called Renviron
R packages built/distributed in RPM are installed to /usr/lib/R/library.
R packages built
2019 Jan 06
2
change default path for installing r-cran packages by sudo apt r-cran...?
dear dirk,
i am following up on our thread on r-help-mailinglist. you advised me to
bring it over here.
when installing packages from within R, they usually go to a directory
defined in R_LIBS_USER, which i have it set in .Renviron.
when installing packages via sudo apt install r-cran-.., they go to
/usr/lib/R/site-library.
is there a possibility to have packages installed to the R_LIBS-USER
2019 Jan 06
0
change default path for installing r-cran packages by sudo apt r-cran...?
On 6 January 2019 at 23:03, Winfried Moser wrote:
| dear dirk,
|
| i am following up on our thread on r-help-mailinglist. you advised me to
| bring it over here.
|
| when installing packages from within R, they usually go to a directory
| defined in R_LIBS_USER, which i have it set in .Renviron.
That is _you_ as the user installing _locally compiled packages_. For those
you can alter where they
2011 Nov 21
1
Setting hostname in the .Renvironment
This is a follow-up to a question I asked a few years back. We have a pair
of computers that share a common home directory (and therefor a common
.Renviron) with identical hardware, but very different sets of libraries
such that using a "shared" R_LIBS between two computers does not work.
They both use this as the default library for user installations:
2017 Sep 16
1
R_LIBS_USER not in libPaths
I have not intentionally set R_LIBS_USER. I looked for an Renviron.site
file but did not see it in R/etc or my home directory. The strange part is
that if I print Sud.getenv I see a value for R_LIBS_USER. However, this
directory is not showing under libPaths.
I though .libPaths should contain R_LIBS_USER.
I also noticed that R related variables are not in the system or user
variables because I
2010 Feb 16
1
R_LIBS_USER bugs
Hi,
Having currently a big problem with R 2.10.1 vanilla (Solaris):
As soon as the R_LIBS_USER env var gets bigger than 1023 chars R
completely ignores it and uses the default:
> Sys.getenv('R_LIBS_USER');
R_LIBS_USER
"${R_LIBS_USER-~/R/i386-pc-solaris2.11-library/2.10}"
The strange thing is, if I set another envar to the same
2015 Mar 10
1
R_HOME default setting
Dear All,
I would like to reset default R_HOME PATH for R.3.1.3.
I installed R-devel in /usr/local/R-devel but I can't install many packages
as tcltk.
I uninstalled R-devel and I would reuse R.3.1.3 but the PATH is remaining
to /usr/local/R-devel.
I touch ~.Renviron file with
R_HOME=/usr/lib/R/bin/
RSTUDIO_R_HOME=/usr/lib/R/bin/
R_LIBS=~/R/x86_64-pc-linux-gnu-library/3.1
2017 Feb 09
0
R CMD check error
On Thu, 2017-02-09 at 09:52 -0600, Therneau, Terry M., Ph.D. wrote:
> Martin,
> ? I am aware of --vanilla; I use it myself for some testing.??In this case R_LIBS_USER was?
> set externally (part of my login) and does not involve any of the R scripts.??That means?
> it is inherited by any subprocess.??For example:
>
> tmt1495% R --vanilla --no-environ
>
> R version 3.3.1
2023 Mar 17
1
Request: better default R_LIBS_USER
> Your best bet really to govern your .libPaths from your Rprofile.site and
Renviron.site ...
To do this for any version of R, one can add:
R_LIBS_USER=~/.local/share/R/%p-library/%v
to ~/.Renviron or the Renviron.site file. This automatically expands
to the platform and R x.y version early on when R starts up, e.g.
~/.local/share/R/x86_64-pc-linux-gnu-library/4.2.
> rather than asking a
2012 Aug 06
2
Windows 7 and .libPaths()
Hello,
I'm having some trouble trying to set the .libPaths() on Windows 7,
R-2.15.0 and R-2.15.1. The environment variables R_LIBS and R_LIBS_USER
are set according to the help page for .libPaths() and the Rprofile.site
file has the default setting, as shown below. R-2.14.1 recognizes the
lib paths but not R-2.15. Is this a bug or am I doing something wrong?
(I've also tried with