search for: r_lib

Displaying 20 results from an estimated 268 matches for "r_lib".

Did you mean: r_libs
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 informat...
2005 Apr 11
2
R_LIBS difficulty ?
...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' time, I surely made a simple blunder > somewhere. Hopefully, I'll figure it out.) Now using this line within `~/.Renviron': R_LIBS=/home/pinard/etc/R my tiny package is correctly found by R. However, R does not seem to see any library within that directory if I rather use either of: R_LIBS=$HOME/etc/R R_LIBS="$HOME/etc/R" The last writing (I mean, something similar) is suggested somewhere in the R manuals...
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
2008 Sep 05
1
Trouble with R CMD check: I can't seem to get dependencies right (maybe I'm using R_LIBS incorrectly?)
...(correctly) list gtools as a dependency, so I'm happy this check is ensuring its availability. What I can't figure out is how to get the check command to see that gtools is in fact installed. I've created a file called .Renviron in my home directory that has the following line in it: R_LIBS=~/Documents/Rstuff/library And in the directory specified by R_LIBS above is the gtools package. (I've also got a file called .Rprofile in my home directory, with the line .libPaths("~/Documents/Rstuff/library") in it.) My reading of the R-intro manual is that setting R_LIBS in thi...
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 ) but I can't find the answers to these 2 q...
2012 Feb 07
1
Using custom R_LIBS with R CMD install
Hi all, Am I using the correct syntax to set a custom R_LIBS when running R CMD INSTALL from the command line? I get: R_LIBS=/Users/hadley/R-dev R CMD INSTALL aL3xa-rapport-08e68ca/ # Desktop : R_LIBS=/Users/hadley/R-dev R CMD INSTALL aL3xa-rapport-08e68ca/ # * installing to library ?/Users/hadley/R? # ERROR: dependency ?ascii? is not available for packag...
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 for t...
2024 Mar 16
3
Problem when trying to install packages
...software tries > to download but after downloading, it gives some errors and does not work. > I would be more than happy if you please help me to solve this issue. > Warm regards. > > >> install.packages("openair", type = "source")Installing package into ?C:/R_Libs? > (as ?lib? is unspecified)Warning in install.packages : > dependencies ?lattice?, ?MASS? are not availablealso installing the > dependencies ?deldir?, ?RcppEigen?, ?cli?, ?glue?, ?lifecycle?, > ?pillar?, ?rlang?, ?tibble?, ?tidyselect?, ?vctrs?, ?png?, ?jpeg?, > ?interp?, ?time...
2004 Dec 31
4
install.packages() for local source file
Wish to install a local source package on Un*x platform from within R. Same thing as I can accomplish from cmdline as $ export R_LIBS=~/R/library $ cd /path/to/pkg $ R CMD INSTALL -l $R_LIBS <pkgname> So, how do you go about this anyway? And isn't this a bug in 'install.packages'? ------- $ R R : Copyright 2004, The R Foundation for Statistical Computing Version 1.9.0 (2004-04-12), ISBN 3-900051-00-3 >...
2006 Oct 30
1
installing package help with limited permissions
Hello, I administer a student (Windows based) computer lab, which has R installed. I want to permit students to install R packages, but of course they don't have write permission to R root folder. Following FAQ suggestion, I've set up a folder that they can write to, and set the R_LIB parameter on the shortcut to this folder. So far, so good - they can now install packages. However, I have not found any way to get the corresponding help files installed. FAQ says the help files require write permission to R installation folder. This seems pretty extreme. Is there some su...
2024 Mar 16
1
Problem when trying to install packages
...after downloading, it gives some errors and does not > work. > > I would be more than happy if you please help me to solve this issue. > > Warm regards. > > > > > >> install.packages("openair", type = "source")Installing package into > ?C:/R_Libs? > > (as ?lib? is unspecified)Warning in install.packages : > > dependencies ?lattice?, ?MASS? are not availablealso installing the > > dependencies ?deldir?, ?RcppEigen?, ?cli?, ?glue?, ?lifecycle?, > > ?pillar?, ?rlang?, ?tibble?, ?tidyselect?, ?vctrs?, ?png?, ?jpeg?,...
2024 Mar 16
1
Problem when trying to install packages
...some errors and does not >> work. >> > I would be more than happy if you please help me to solve this issue. >> > Warm regards. >> > >> > >> >> install.packages("openair", type = "source")Installing package into >> ?C:/R_Libs? >> > (as ?lib? is unspecified)Warning in install.packages : >> > dependencies ?lattice?, ?MASS? are not availablealso installing the >> > dependencies ?deldir?, ?RcppEigen?, ?cli?, ?glue?, ?lifecycle?, >> > ?pillar?, ?rlang?, ?tibble?, ?tidyselect?, ?vctrs?,...
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/noba...
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 -- Rea...
2008 Dec 12
1
setting the R_Libs gives warning message from Rgui.exe
Hi, I keep getting the error message and a pop-up window for selecting CRAN mirror server from Rgui.exe after setting the R_Libs Warning in install.packages(necessary[!installed], dep = T) : argument 'lib' is missing: using 'D:/Program Files/R/R-2.8.0.libs' --- Please select a CRAN mirror for use in this session --- Error in contrib.url(repos, type) : I set the command for Rgui.exe to be "D:\P...
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 "/library" after "/Users/david/Library/R" is unexpected: I did not...
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), my .libPaths() just shows "/usr/local/R/R-3.1.3-build/library" which is the version-dependent library (this used to come at...
2008 Jun 18
0
problem with personal library (R_LIBS_USER) when R_LIBS is defined (patch)
As from R 2.5.0 users can install packages in their home directories, in directory specified by the environment variable R_LIBS_USER. It's a great feature. But I have a problem with this feature, when R_LIBS is defined. It works well the first time, when R creates the directory defined in R_LIBS_USER. > install.packages('BayesTree') Warning in install.packages("BayesTree") : argument 'li...
2010 Jun 03
1
How to go about getting a change in the SPEC file from which R is built on EPEL?
...PM are installed to /usr/lib/R/library. R packages built locally with install.packages by root go to /usr/local/lib/R/site-library Ordinary users who try to install packages are prompted to create a folder in their HOME/~R/... and install there. In my Ubuntu Renviron file, I have this at the end: R_LIBS_USER=${R_LIBS_USER-'~/R/x86_64-pc-linux-gnu-library/2.11'} # edd Apr 2003 Allow local install in /usr/local, also add a directory for # Debian packaged CRAN packages, and finally the default dir # edd Jul 2007 Now use R_LIBS_SITE, not R_LIBS R_LIBS_SITE=${R_LIBS_SITE-'...
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 directory by using the second possibility? dirk, you pointed me to the comments in Renviron.s...