Displaying 20 results from an estimated 10000 matches similar to: "How to reset libPaths for root"
2011 Mar 05
1
Multiple LibPaths in Fresh Install
Using: natty alpha-2
Could anyone englighten me (or point me to a self-enlightment page) as
to why when installing R using:
> apt-get install revolution-mkl r-revolution-revobase revolution-r r-base-core
There are 4 library paths available (installed by default):
> .libPaths()
[1] "/usr/local/lib/R/site-library" "/usr/lib/R/site-library"
[3]
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
2017 Sep 16
0
R_LIBS_USER not in libPaths
I'm not sure I follow what.the problem is. Are you trying to
set R_LIBS_USER but R does not acknowledge it, or do you observe something
in R that you didn't expect to be there and you are trying to figure out
why that is / where that happens?
Henrik
On Sep 16, 2017 07:10, "Rene J Suarez-Soto" <rene.j.suarez at gmail.com> wrote:
> I have a computer where R_LIBS_USER is
2017 Sep 16
4
R_LIBS_USER not in libPaths
I have a computer where R_LIBS_USER is not found in libPaths. This is for
Windows (x64). I ran R from the command line, RGui and RStudio and I get
the same results. I also ran R --vanilla and I still get the discrepancy.
The only thing I found interesting was that I also ran SET from the command
line and the "R related variables" (e.g., R_HOME; R_LIBS_USER) are not
there. Therefore
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
2011 Jan 10
2
problem with packages
Hello, I am on a laptop with Win7, running R-2.12.1
if I click on Packages/InstallPackages I get :
> utils:::menuInstallPkgs()
Warning: unable to access index for repository http://cran.skazkaforyou.com/bin/windows/contrib/2.12
Warning: unable to access index for repository http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.12
Error in install.packages(NULL, .libPaths()[1L], dependencies
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 Mar 25
1
update.packages(1)
I'm relaying a question from my institute's sysadmin:
Would it be possible to modify update.packages() and related functions so
that 'lib.loc' accepts integer values to specify a library from the
.libPaths() vector?
Many Linux users want to update all user packages (inside the R_LIBS_USER
directory, e.g. ~/r/library) and none of the system packages (inside the
/usr directory,
2011 Jan 02
2
Probably with default library tree
Hi,
I just installed R on a new windows 7 machine and am having a probelm with the default libraries. The default libraries are not what I want them to be so when i say install.packages("XXX") the packages don't install where I want them to. Ideally everything would install to the same location as the base packages. When I look at my library paths I get the following.
>
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
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),
2023 Mar 16
2
Request: better default R_LIBS_USER
On 16 March 2023 at 13:39, Felipe Contreras wrote:
| I see R by default installs packages in ~/R. I know I can change the
| default directory with R_LIBS_USER, but software shouldn't be
| polluting the home directory.
|
| For example both python and node install packages to ~/.local/lib,
| ruby to ~/.local/share. They don't install to for example ~/node.
|
| R should do the same: it
2015 Jul 09
4
R CMD build failure
I have a local library 'dart' that imports "httr". It has routines that access central
patient data such as birth date, so it is heavily used locally but of no interest to
anyone else.
The httr library (and 300 others) are in a shared directory, referenced by everyone in the
biostatistics group via adding this location to the .libPaths in their default .Rprofile.
2017 Jul 06
2
Regarding R_LIBS_USER
Hi,
As comments are welcome I will give my two cents and a patch suggestion :-)
2017-07-06 10:42 GMT+02:00 Dirk Eddelbuettel <edd at debian.org>:
>
>
> I have used such settings (such as un-setting R_LIBS_USER or its
> predecessors) for over a decade, it just works (if you give write
> permissions). It clearly helps us at work because everybody sees by
> the default the
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
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
2019 Oct 10
2
How to refer to my package from another package DESCRIPTION
Hello, I am developing some packages. Package1 requires Package2, both of which I developed:
Right now Package2 is installed properly here:
/myHome/libraries/Package2
Package1 needs Package2. Package1 refers to Package2 both in the Roxygen @import field for one of the functions, and also in the Imports section in the DESCRIPTION
However, when I do ?R CMD check Package1? I get:
* checking
2013 Feb 15
1
Remove site path from .libPaths
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi
I am sure I am missing something really basic, but I can't figure it out.
I want to start R so that I can specify the location for the Library tree. In principel simple:
As I only want it dependent on the directory I stat R in, I put a .Rprofile file in the directory.
My default path is:
> .libPaths()
[1]
2008 Nov 07
1
Updating Packages with Personal Library
I'm having trouble running `updates.packages()' and installing into a
personal library.
Setup:
1. .Renviron file contains: R_LIBS_USER="~/lib/R/%p-library/%v"
2. Hence "personal library" is: ~/lib/R/i486-pc-linux-gnu-library/2.6/
3. Library path upon starting R:
> .libPaths()
[1] "/home/johnny/lib/R/i486-pc-linux-gnu-library/2.6"
[2]