Displaying 20 results from an estimated 9000 matches similar to: ".libPaths()"
2007 Jul 13
3
THANK YOU: Updating R version
Based on the feedback received, I did the following:
a) moved my lib sub-directory from the existing installed R version to
c:\myRLib
b) installed the updated R version
c) created .Renviron file in the home directory (C:\R-2.5.1) with the line
R_LIBS=c:/myRLib
d) used .libPaths() command to confirm that the new R installation was
recognizing the myRLib sub-directory
e) deleted my old R
2005 Dec 13
2
interruption when pasting code into R under linux
hello,
has anyone come across the following rather mysterious problem:
when pasting large bits of code (100 and more lines) into the R console with
the central mouse button (under linux), only part of the code is pasted, and
the text interrupts somewhere arbitrarily. It does not happen when smaller
bits are pasted subsequently.
I use linux suse 9.3 with the latest version of R
2005 Apr 27
3
libz library missing while installing RMySQL
Hello
Trying to install the MySQL package, I get the following error. The help
archive contains something on this issue but did not help. I work on linux
suse 9.3
Configuration error:
Could not locate the library "libz" required by MySQL.
The library libz however is not on any mirrors I checked.
------------------------------------------------
Sebastian Leuzinger
web
2006 Aug 10
1
installing rimage
dear list
while installing the package rimage, i get the error message
checking jpeglib.h usability... no
checking jpeglib.h presence... no
checking for jpeglib.h... no
configure: error: Sorry, can't find jpeglib header
ERROR: configuration failed for package 'rimage'
although i have installed jpeglib as required. does R not find this library?
but why did it find the fftw library
2004 Oct 20
2
common axis label in multiple plot area
Hello
A very short question: Using multiple plots with par(mfrow=c(3,3)), how
can I get R to indicate one common y- and x-axis label? I tried to use
text() in par, but this is then overwritten when I plot the graphs.
--
Sebastian Leuzinger
Institute of Botany, University of Basel
Schönbeinstr. 6 CH-4056 Basel
Ph. 0041 (0) 61 267 3511
fax 0041 (0) 61 2673504
email: Sebastian.Leuzinger@unibas.ch
2008 Jan 07
4
is there something like or() ?
hi, this may be trivial, but we can't seem to find anything adequate,
(although there is a work around with match() ). We are looking for something
along the lines of
plot(table1[table1$var2==or("a","b","c","d"),"var1"])
would be handy, with the potential or() function leading to what
plot(table1[table1$var2=="a" |
2006 Jun 14
4
write data from function into external table
Dear list,
My apologies if a solution / explanation to this already exists on the list,
but it is difficult to assign it to a certain keyword.
test<-c(1:3)
testfct <- function(x) {test[1]<-100}
test
[1] 1 2 3
testfct(1)
[1] 1 2 3
Basically, I would like to write data into an external table that the function
does not know. Why is this not working / what alternatives exist?
Thanks,
2008 Jun 18
4
Editor for Mac OSX
Dear R-list
I am (forced) to change from Linux to Mac and am now looking for a new editor for R. I would like one that features a split window (console + editor) as well as syntax highlighting. Can anyone help? Especially the split-window feature does not seem to be easily available in the editors desribed on the R-help site, except Emacs, which I am reluctant to start using. I am on a MacBook Air
2005 Jul 28
1
stl()
Hello, anyone got an idea on how to use stl() so that the remainder eventually
becomes white noise? i used stl repeatedly but there is autocorrelation in
the remainder that i can't get rid of.
os: linux suse9.3
------------------------------------------------
Sebastian Leuzinger
Institute of Botany, University of Basel
Sch??nbeinstr. 6 CH-4056 Basel
ph 0041 (0) 61 2673511
fax 0041 (0)
2005 Dec 01
4
suppress tick labels
hello,
is R able to suppress tick labels (not tick marks)? i know there is a way
around this with axes=F and then draw new axes, but it would be easier to
suppress them in the first place.
--
------------------------------------------------
Sebastian Leuzinger
Institute of Botany, University of Basel
Sch??nbeinstr. 6 CH-4056 Basel
ph 0041 (0) 61 2673511
fax 0041 (0) 61 2673504
email
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]
2005 Oct 18
1
change factor labels
it must be terribly simple, can someone quickly help me?
test <- data.frame(y=c(1:10), x=as.factor(c(rep("a",5),rep("b",5))))
how can i change the factor labels from "a" and "b" to for example "u" and
"v"?
i don't succeed with factor()
thanks a lot
------------------------------------------------
Sebastian Leuzinger
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
2009 Dec 06
2
.libPaths(new) stopped working in 2.10
I used to have the following in my .Rprofile:
if (length(.libPaths())==1)
.libPaths(paste(Sys.getenv("HOME"),"/Library/R/",paste(R.version$major,as.integer(R.version$minor),sep='.'),"/library",sep=''))
-- and it added my user-defined library directory. Then I installed
packages there, so during an upgrade, I'd know exactly which packages
I
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
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
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"
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 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 Sep 18
1
Package crashes R under Windows Vista
Dear all,
Please, please I really need your help, since I am not able to solve the
problem myself:
It seems that until now most Windows users of my Bioconductor package
"xps" use Windows XP, but recently a user tried to use it on Windows
Vista where it crashed R immediately. Since I assume that some users may
migrate to the upcoming Windows 7 where the problem will be the same, I