similar to: .libPaths(new) stopped working in 2.10

Displaying 20 results from an estimated 2000 matches similar to: ".libPaths(new) stopped working in 2.10"

2009 Nov 24
1
The "lib" argument in install.packages().
I was flummoxed for a long time by errors generated when I did something like install.packages(foo,lib="Rlib") where ``Rlib'' is my personalized directory of R packages, which lives in my home directory (from which I started R before issuing the foregoing install.packages() call. Recently someone (I forget who, but thanks very much to whomever it was) pointed out that I
2008 Feb 27
1
Bug in help(). (PR#10859)
There appears to be a bug in help() when there are multiple packages attached containing functions with the same name, and offline=TRUE. Example: library(mgcv) library(gam) If one simply does: help(gam) # No ``offline=TRUE'' then the following message appears: Help on topic 'gam' was found in the following packages: Package Library mgcv
2008 Sep 10
2
RSiteSearch for words ``as one entity''.
I tried to search for a string of words ``as one entity'' following the example in the help file: > RSiteSearch("{logistic regression}") and got the error message: 2008-09-11 08:55:41.356 open[823] No such file: /Users/rturner/http:/ search.r-project.org/cgi-bin/namazu.cgi?query={logistic+regression}
2010 May 06
2
Problem with install.packages(); getting out-of-date version.
I recently tried to install the latest version of spatstat, from CRAN, using the install.packages() function. It proceeded to install version 1.17-5 of spatstat, although the current version is 1.18-4. Checking the CRAN mirror that I used (New Zealand) via Firefox, I found that version 1.18-4 is indeed present on CRAN. I was able to download and install version 1.18-4 ``manually''
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 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
2009 Jan 25
2
.Renviron for multiple hardwares...
Our lab has a lot of different unix boxes, with different hardware, and I'm assuming (perhaps wrongly) that by setting a per-user package installation directory, the packages will only work on one type of hardware. Our systems are all set up to share the same home directory (and, thus, the same .Renviron file) -- so, is there a way to set, in the .Renviron file, per-computer or
2005 Apr 26
2
.libPaths()
Hello I use the function .libPaths() > .libPaths() [1] "/usr/local/lib/R/library" > .libPaths(c("/usr/local/lib/myRlib","/usr/local/lib/library")) > .libPaths() [1] "/usr/local/lib/R/library" but it simply does not pick up the new path. Can anybody help? (The problem originates from the inability to install packages into
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]
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"
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
2010 Mar 23
1
Plot ``freezes''.
In an elderly version of ``plotSymbols'' (now in the cwhmisc package) that I had lying around, there was the example plot(1:10,xlab="\374") which the comments said would give a u-umlaut as the x-axis label. When I execute this plot (a) I get no x-axis label at all, and (b) the plot ``freezes'' in that further plotting commands (e.g. plot(runif(42))) produce no
2011 Feb 10
1
How to reset libPaths for root
High, on all of my computers the first entry in libPaths for root was /usr/lib64/R/library or /usr/lib/R/library. Now it change at one (lynx) anyway to root at lynx:/root(2)# R R version 2.12.1 (2010-12-16) Copyright (C) 2010 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: x86_64-pc-linux-gnu (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are
2017 Nov 23
0
libPaths displays truncated path?
> On Nov 23, 2017, at 4:34 AM, Loris Bennett <loris.bennett at fu-berlin.de> wrote: > > Hi, > > TL;DR > ----- > > I define the path > > /cm/shared/apps/R/site-library/3.4.2 > > and add it to libPath. Why does libPath then display it as > > /cm/shared/apps/R/site-library/3.4 Generally one only has a different library for each major
2017 Nov 23
5
libPaths displays truncated path?
Hi, TL;DR ----- I define the path /cm/shared/apps/R/site-library/3.4.2 and add it to libPath. Why does libPath then display it as /cm/shared/apps/R/site-library/3.4 ? Long version ------------ I run a cluster of diskless nodes for which the OS is loaded directly into RAM and other software is provided by an NFS server. However, in the case of R, we use the R version provided
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
2012 Oct 29
1
install.packages() fails if .libPaths() set
Reproducible example: dir.create("test") .libPaths("test") install.packages("relations", type = "source") Fails with: ... * installing *source* package ?relations? ... ... ** testing if installed package can be loaded *** arch - i386 Error : package ?sets? required by ?relations? could not be found Error: loading failed Execution halted *** arch - x86_64
2009 Feb 03
1
Package manuals.
When I create a manual for a package that I create and use locally, e.g. via R CMD Rd2dvi --pdf foo where ``foo'' is the name of the directory containing the source for the package (also named ``foo'') the resulting manual does not appear to have an index. The package.pdf files appearing on CRAN all seem to have indices. What must I do to get an index appended to the
2010 Sep 13
1
Problem with all.equal and POSIXt.
I'm getting an error when applying all.equal() to objects of class POSIXt. E.g. x <- strptime(rep("2007-02-12",10),format="%Y-%m-%d") all.equal(x,x) Error in target[[i]] : subscript out of bounds The object seems to have to be of double-digit length to trigger the error. E.g. all.equal(x[1:9],x[1:9]) returns TRUE. I did a cursory search of the r-help pages and
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