Displaying 20 results from an estimated 4000 matches similar to: "attaching packages"
2012 Sep 19
1
Setting library path (again)
Hi,
Sorry for posting a question that has been asked before but I couldn't
quite find the right answer in previous help topics.
I am trying to set my library path to a user-specified library
("C:/Users/K/Documents/Work/RLib"). I have used
.libPaths("C:/Users/K/Documents/Work/RLib") but when I check the
.libPaths(), both the user-specified and default libraries appear. It
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),
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
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
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 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
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
2005 Apr 11
2
R_LIBS difficulty ?
Hi, R people.
I'm shy reporting this, as a bug in this area sounds very unlikely. Did
I make my tests wrongly? I'm still flaky at all this. Let me dare
nevertheless, who knows, just in case... Please don't kill me! :-)
Not so long ago, I wrote to this list:
> (For now, [the library code] works only for me when I do _not_ use `-l
> MY/OWN/LIBDIR' at `R CMD INSTALL'
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
2002 Oct 17
1
Startup on Windows 2000
I am having difficulty coming to grips with Appendix B.2 of the
otherwise very useful "An Introduction to R" and the related help file
for Startup. I am running RGui 1.6.0 on a Windows 2000 machine from the
default installation. How the concepts discussed in B.2 and the Startup
help file relate to what I see on my machine is something of a mystery.
I quote from the Startup file:
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
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
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:
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
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
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 May 30
4
Changing R_LIB_USER variable in ubuntu...
Hi,
I'm an experienced R user on windows, but new to linux. This may be an
issue with how R (or Ubuntu) was install on my computer, but maybe not.
I just installed Ubuntu 10.04, I have administrator privileges and
am using R 2.11. Here goes:
I'd like to change the location where R installs packages not included
in the base installation (using install.packages()). Right now it is
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
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