Displaying 20 results from an estimated 9000 matches similar to: "customizing library locations for R in ubuntu"
2025 May 09
2
customizing library locations for R in ubuntu
? Thu, 8 May 2025 19:39:40 +0000 (UTC)
ravi via R-help <r-help at r-project.org> ?????:
> In windows, I add the following line:
> .libPaths(c(?C:/Rownlib?,?C:/R/R-4.5.0/library?))
> ? ????in the file C:/R/R-4.5.0/etc/Rprofile.site
>
> I have my own list of packages in the Rownlib folder and the packages
> that come with the R installation for the latest version in the
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
2018 Jan 12
2
R minor version
Hi,
When I install a package as a non-root user, it gets saved in a path
such as
~/R/x86_64-unknown-linux-gnu-library/3.4
for any R version 3.4.x. Thus, if I want to install the packages
somewhere else, as root say, I might do
install.packages("somepackage","/some/where/else/R/site-library/3.4")
In this case I would then want to construct the appropriate path in,
say,
2018 Jan 12
0
R minor version
> .expand_R_libs_env_var("poof/%p/%v")
[1] "poof/x86_64-w64-mingw32/3.4"
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Fri, Jan 12, 2018 at 4:49 AM, Loris Bennett <loris.bennett at fu-berlin.de>
wrote:
> Hi,
>
> When I install a package as a non-root user, it gets saved in a path
> such as
>
> ~/R/x86_64-unknown-linux-gnu-library/3.4
>
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.
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 28
2
Installing/updating packages on a lab network
I'm the faculty member in my department who advises our IT staff on the
details of installing R for
students and faculty on our Windows 7 lab network. We are about to
upgrade from R 3.1.1 to
R 3.2.1, and once that is done, this version of R and all installed
packages will be frozen in the
image that appears in C:/Program Files/R/R-3.2.1/ on every lab computer,
and this image is
refreshed
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
2015 Jul 29
1
Installing/updating packages on a lab network
On 7/28/2015 1:32 PM, Uwe Ligges wrote:
> Just add the line
>
> R_LIBS_SITE=F:/R/library
>
> to the file R_HOME/etc/x64/Renviron.site
Thanks, Uwe
I have no way to test this and our IT people who do the installation
know nothing of R, so follow-up questions:
* There is no R_HOME/etc/x64/Renviron.site file, but there is a
R_HOME/etc/Rprofile.site I can modify and
ask them to
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
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]
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
2025 May 15
1
customizing library locations for R in ubuntu
I did some googling and then ran:
> bspm::shadowed_packages()
???? Package???????????????? LibPath Version?????? Shadow.LibPath Shadow.Version Shadow.Newer
bspm????bspm /usr/lib/R/site-library?? 0.5.7 /home/ravi/rvi/Rlib??????????0.5.7????????FALSE
I have a copy of bspm in the /usr/lib/R/site-library location as well, although that is not the 1st in my list of libPaths. This got included
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 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
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
2011 Aug 11
2
UNC windows path beginning with backslashes: normalizePath bug??
Hi,
Back in June I posted the message below, but had no replies. I've made a
little progress since then so this is to update anyone interested (!) and to
ask for comments.
Brief problem statement:
Under Windows, some parts of R don't handle UNC paths beginning with
backslashes. Specifically
a) Sys.glob() fails to find some files breaking (e.g.) Rcmdr plugins