similar to: Libraries issue

Displaying 20 results from an estimated 8000 matches similar to: "Libraries issue"

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
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
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
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
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
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),
2017 Feb 09
2
R CMD check error
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 (2016-06-21) -- "Bug in Your Hair" Copyright (C) 2016 The R Foundation for Statistical Computing
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:
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
2011 Feb 26
2
[R-sig-ME] Fwd: Re: ANOVA and Pseudoreplication in R
On 25/02/2011 21:22, Ben Ward wrote: > > -------- Original Message -------- > Subject: Re: [R] ANOVA and Pseudoreplication in R > Date: Fri, 25 Feb 2011 12:10:14 -0800 > From: Bert Gunter<gunter.berton at gene.com> > To: Ben Ward<benjamin.ward at bathspa.org> > CC: r-help<r-help at r-project.org> > > > > I can hopefully save bandwidth here by
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
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
2010 May 09
2
running a locally built R-devel with libraries from Debian installation
Hi, What is the best way to tell a locally-built R-devel (somewhere in the user home directory) to use the libraries from the Debian installation (i.e. /usr/local/lib/R/site-library and /usr/lib/R/site-library). I suppose this would take setting one or all of R_LIBS, R_LIBS_SITE, R_LIBS_USER in ~/.Renviron, but that would also affect the Debian R in the system so is not an option. How do R
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"
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
2008 Jun 18
0
problem with personal library (R_LIBS_USER) when R_LIBS is defined (patch)
As from R 2.5.0 users can install packages in their home directories, in directory specified by the environment variable R_LIBS_USER. It's a great feature. But I have a problem with this feature, when R_LIBS is defined. It works well the first time, when R creates the directory defined in R_LIBS_USER. > install.packages('BayesTree') Warning in
2011 Aug 19
1
Windows 7 issues with installing packages and setting library paths
Dear all, I am forced to work in an environment without administrator rights. When using R2.13.1 on Windows 7 (64-Bit), I found that I can?t install or update any packages due to missing writing permissions. I managed to get full access to a directory on my C:\ drive now - but how do I specify that all libraries shall be installed into this directory? In Rcmd_environ I have the following
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:
2011 Feb 18
3
Confidence Intervals on Standard Curve
Hi, I wonder if anyone could advise me with this: I've been trying to make a standard curve in R with lm() of some standards from a spectrophotometer, so as I can express the curve as a formula, and so obtain values from my treated samples by plugging in readings into the formula, instead of trying to judge things by eye, with a curve drawn by hand. It is a curve and so I used the
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