Displaying 20 results from an estimated 4000 matches similar to: "Trouble with R CMD check: I can't seem to get dependencies right (maybe I'm using R_LIBS incorrectly?)"
2009 Sep 03
1
trouble installing gtools package in local directory
Hello,
I've recently transitioned to using R in Linux. My OS/installation versions
are:
$ Red Hat Enterprise Linux AS release 4 (Nahant Update 6)
$ Linux lx-chgmqsd05 2.6.9-67.0.1.ELsmp #1 SMP Fri Nov 30 11:57:43 EST 2007
x86_64 x86_64 x86_64 GNU/Linux
I am trying to create a repository of packages under ~/R/library which I've
created since I do not have admin access on my system. From my
2009 Sep 03
1
trouble installing gtools package in local directory
Hello,
I've recently transitioned to using R in Linux. My OS/installation versions
are:
$ Red Hat Enterprise Linux AS release 4 (Nahant Update 6)
$ Linux lx-chgmqsd05 2.6.9-67.0.1.ELsmp #1 SMP Fri Nov 30 11:57:43 EST 2007
x86_64 x86_64 x86_64 GNU/Linux
I am trying to create a repository of packages under ~/R/library which I've
created since I do not have admin access on my system. From my
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
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
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'
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 package ?rapport?
But:
ls
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
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 -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info",
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
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
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),
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
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
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
2012 Feb 28
2
Error: could not find function "hier.part"
Error: could not find function "hier.part"
things I have tried:
1. reinstall R (lastest version, on windows XP)
2. install package "gtools"
3. include:
library(gtools)
require(gtools)
4. how I call this function:
hier.part(c$Y, xdata, fam = "gaussian", gof = "Rsqu")
5.when I try to check what's in the package "gtools", I get (hier.part is
1999 Apr 14
2
character vector as input to function?
I would like to have a function that inputs a file name, then reads that
data file and does various stuff to it.
Something like:
doit<-function(filename)
{
x<-scan("~/rstuff/data/"filename)
#for example, if filename is a0.dat, it will scan("~/rstuff/data/a0.dat")
...
}
Can someone please tell me how to do this?
Thanks for any help!
Bill Simpson
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
2007 Apr 18
2
Error loading libraries in MAC
Hi I just installed the gmodels package
and the installation was successful but when I was trying to load the
library I got an error (see below).
Interesting, yesterday I wrote to the maintainer of RSQLite apckage
because I got the same error.
Does somebody knows what is going on ??
thanks,
Mayte
library(gmodels)
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load
2007 Apr 18
2
Error loading libraries in MAC
Hi I just installed the gmodels package
and the installation was successful but when I was trying to load the
library I got an error (see below).
Interesting, yesterday I wrote to the maintainer of RSQLite apckage
because I got the same error.
Does somebody knows what is going on ??
thanks,
Mayte
library(gmodels)
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load
2009 Sep 06
1
Two packages and one method
Hi!
I want to use one method "combinations" from "gtools" package but in my code
I must use also "dprep" method where is method "combinations" too. Mayby I
show you result my help function:
Help on topic 'combinations' was found in the following packages:
Package Library
dprep /usr/lib64/R/library
gtools