Displaying 20 results from an estimated 8000 matches similar to: "R_LIBS difficulty ?"
2013 Jan 16
1
R CMD check not reading R_LIBS from ~/.R/check.Renviron
Dear List,
Further to my earlier email, I note that, for me at least, R CMD check
is *not* reading R_LIBS from ~/.R/check.Renviron on R 2.15.2 patched
(r61228) and R Under Development (r61660). The only way I can get R CMD
check to look for packages in a user-supplied library is by explicitly
exporting R_LIBS set to the relevant directory.
R CMD build *does* read R_LIBS from ~/.R/build.Renviron
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),
2005 Nov 30
3
setting R_LIBS
Hello,
I'm adding a private library tree in my home directory by adding this to
my ~/.Renviron:
R_LIBS="~/R/library:${R_LIBS}"
so that once in R:
R> cat(Sys.getenv("R_LIBS"), "\n")
~/R/library:/usr/local/lib/R/site-library:/usr/lib/R/site-library:/usr/lib/R/library
Is this the best way to proceed?
Cheers,
--
Sebastian P. Luque
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
2008 Sep 05
1
Trouble with R CMD check: I can't seem to get dependencies right (maybe I'm using R_LIBS incorrectly?)
Hi there,
I'm in the following directory:
~/Documents/Rstuff/diceFiles/dice_1.1
The directory "dice" is in this directory, with all the usual build
files (DESCRIPTION, NAMESPACE, etc). I'm trying to run the following
command:
R CMD check dice
(where "dice" is the name of the package I'm checking), and I get the following:
* checking package dependencies ...
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
2002 Sep 24
1
R_Libs in .Renviron?
Hi!
Where to set R_LIBS?
I have .Renviron with the line.
R_LIBS=/package/R/R-1.5.0/linux/lib/R/library/;/home/wolski/Rpack/
in my home directory
but cant access any library stored in the /home/wolski/Rpack/?
Eryk
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info",
2006 Oct 03
2
setting the environment variable R_LIBS
Thanks to Peter Dalgaard , I have made some decent progress as far as
getting R to work in linux . I just want to set my environment variable
R_LIBS to /u/etlfs/dev/users/leedsmar/R/library ( in linux ) so that I
can install specific packages. Does anyone know the syntax and in which
file I set this variable ( .Rprofile etc ).
I've looked in the installation manual ( i'm mainly on pg 14
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
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
2013 Nov 21
1
R CMD check (v-3.0.2) not loading $R_CHECK_ENVIRON
Hi all,
I'm trying to check a package using R CMD check --as-cran <package>. When
I do so, the check fails upon not finding the dependencies which I have
installed in a non-standard location. Per the manual, I created
~/.R/check.Renviron :
$ cat ~/.R/check.Renviron
R_LIBS=/usr/lib64/R/library:/usr/lib64/R/var
R_LIBS_SITE=/usr/lib64/R/library:/usr/lib64/R/var
No luck. I tried
2015 Mar 31
1
Debian Testing: ~/.Renviron seems to not being read (R_LIBS not set)
Dear Dirk, Dear Johannes,
Thanks for helping, I could solve the problem.
By reading your posts, I got a bit of the impression that questions
beyond the 'standard installation' process are not really welcome on
R-SIG-Debian. If this is the case, I'm sorry for my post. I wasn't
aware of this, but Dirk makes it clear why on
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
2013 Jan 16
1
Trouble building package using R in development
Dear List,
I'm having considerable trouble setting up my environment (Linux, Fedora
16, Bash) to build and check packages under R Under Development
(r61660). I'm doing this to better get a handle on difference in the
output from running checks on examples in one of my packages. Note I
compiled R Under Development myself
The problem I am now having is whenever I try to build my analogue
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
2007 Oct 29
2
a package depending on other packages does not pass checking on windows
Dear developers,
I am writing a package that depends on some other packages. The
dependencies are stated in the `description' file under "Depends". They
are installed in my private library, which is pointed to by setting
R_LIBS in .Renviron, and are available if R is started normally.
However, when I try to `R CMD check' my package, R complains about the
dependencies being not
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
2005 Apr 01
1
R mailing list archive difficulty
Hi, people! This is my first babble on this list, please be kind! :-)
Last Tuesday, I wrote to the (likely) Webmaster of the R site to report
a little problem, but also to ask for advice about how to get a bulk
copy of the mailing list archives, from 2002 to now.
While I quite understand that from Tuesday to now, there has been little
time, and it is only normal that I did not receive a reply
2010 Jul 02
2
Why doesn't my change of "Renviron.site" work on "windows 7" ?
Hi all,
I added the following line on the "Renviron.site" file:
R_LIBS=C:\Program Files (x86)\R\library
And when I start R and run:
.libPaths()
I don't see this path.
On windows XP it worked for me. I am now using windoes 7 (64 bit) with R
32.
Is there a reason this shouldn't work?
Thanks,
Tal
----------------Contact
2010 Apr 23
1
I am failing to run the (windows) example in: help(Startup)
Hi all,
Inside:
help(Startup)
There is an example suggesting:
## Example .Renviron on Windows
R_LIBS=C:/R/library
If I update the file:
Rprofile.site
in "etc"
When I start R I get:
Error: 16:10: unexpected '/'
16: R_LIBS=C:/
^
Of course, if I put it in quotes it works, But I was wondering if I am
missing something or is it a mistake in the example?
Thanks,