Displaying 20 results from an estimated 4000 matches similar to: "installing package help with limited permissions"
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
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
2007 Nov 28
2
help("R_LIBS") brings up the wrong help file (PR#10475)
Doing
help("R_LIBS")
brings up a help file (the same one as help(library)),
but the help file doesn't mention R_LIBS.
It does have a link to .libPaths, which does document R_LIBS.
The quickest fix would be for help("R_LIBS") to bring up the .libPaths
help file.
--please do not edit the information below--
Version:
platform = i386-pc-mingw32
arch = i386
os = mingw32
2016 Feb 20
2
R Package Installation Ignores libPaths Setting
Good day,
I believe from the documentation that folders in R_LIBS should appear in the output of .libPaths, but they do not. The documentation contains "The library search path is initialized at startup from the environment variable R_LIBS ..."
However,
$ export R_LIBS=/users/stgrad/dario/tmp/
$ Rscript -e ".libPaths()"
[1] "/dskh/nobackup/biostat/Bioconductor"
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
2018 Jul 21
3
Library lib.loc Option Ignored for Dependencies
>>>>> Benjamin Tyner
>>>>> on Fri, 20 Jul 2018 19:42:09 -0400 writes:
> Here's a trick/workaround; if lib.loc is the path to your
> library, then prior to calling library(),
>> environment(.libPaths)$.lib.loc <- lib.loc
Well, that is quite a "trick" -- and potentially a pretty
dangerous one, not intended when making
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),
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
2016 Feb 18
2
R Package Installation Ignores libPaths Setting
Good day,
If the library path is changed with .libPaths, the command
install.packages("/nb/dario/Biostrings_2.39.9.tar.gz", repos=NULL)
fails with
** testing if installed package can be loaded
Error : package ?S4Vectors? required by ?Biostrings? could not be found
However,
running library(S4Vectors) followed by sessionInfo() after the error shows that the package can indeed be
2007 Jul 11
2
Changing default library
Hallo R experts,
I got a question concerning the .libPaths(). if I do the command .libPaths() than the result is /usr/lib/R/library. This is the default folder. I now want to change this one into /home/csc/usr/lib/R/library. I thought it would work with the command .libPaths("/home/csc/usr/lib/R/library"). When I than do the command .libPaths() the result is:
2004 Oct 23
2
R_LIBS and R Cocoa GUI for Mac OS X (PR#7308)
Full_Name: David Firth
Version: 2.0.0
OS: Mac OS 10.3.5
Submission from: (NULL) (81.178.234.156)
When running R in R Cocoa GUI 1.0 (v2004-10-14), I have
> Sys.getenv()[["R_LIBS"]]
[1] "/Users/david/Library/R"
> .libPaths()
[1] "/Users/david/Library/R/library"
[2] "/Library/Frameworks/R.framework/Resources/library"
The pasting of
2018 Jul 19
2
Library lib.loc Option Ignored for Dependencies
Good day,
If there's a library folder of the latest R packages and a particular package from it is loaded using the lib.loc option, the dependencies of that package are still attempted to be loaded from another folder of older packages specified by R_LIBS, which may cause errors about version requirements not being met. The documentation of the library function doesn't explain what the
2018 Jul 24
4
Library lib.loc Option Ignored for Dependencies
>>>>> Benjamin Tyner
>>>>> on Sat, 21 Jul 2018 13:42:43 -0400 writes:
> Not sure whether it is the same issue as was raised here:
> https://stat.ethz.ch/pipermail/r-devel/2010-October/058729.html
> but in any case perhaps the problem could partially be remedied on line
> 245 of src/library/base/R/library.R by passing the lib.loc to
2006 Oct 09
2
Installing Rmpi on 64-bit Linux Athlon
Hello,
We have recently added a 64-bit 2 x Dual-Core Athlon server running Red
Hat Enterprise Linux AS release 3 to allow for processing of large data
sets (>4GB) in R. To integrate this server into our Linux cluster, I
have been trying (unsuccessfully) to use Rmpi/lam-mpi to parallel
process some of our scripts. While I have successfully compiled R 2.4.0
and lam-mpi 7.1.2 on this server using
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
2007 Jul 06
1
Warning message: cannot create HTML package index
I have set R_LIBS=~/R_lib as I don't have root access.
The following message shown up every time after installing a package:
......
The downloaded packages are in
/tmp/RtmpBoIPoz/downloaded_packages
Warning message:
cannot create HTML package index in: tools:::unix.packages.html(.Library)
Any ideas?
--
Leo <sdl.web AT gmail.com> (GPG Key:
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
2001 Apr 20
1
attaching packages
Hello,
I have downloaded and installed e1071_1.1-0.tar.gz, my first add-on
package. Because I am not the sys admin I installed it to my own home dir
under ~/.R/library/
I read in the faq that I should make changes to the R_lib env variable in
my .bashprofile or .Renviron files to make the new personal library
components available. Unfortunately neither of these exist
in my home dir. Can anyone
2001 Dec 20
2
library()
I've just installed version 1.4.0 of R, and am experiencing
a puzzling phenomenon with the library() function.
I have .lib.loc set as follows:
> .lib.loc
[1] "/usr/local/lib/R/library" "/home/faculty/rolf/Rlib"
If I invoke
> library(melvin)
I get the error message
Error in library(melvin) : There is no package called `melvin'
but if I invoke
>
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