Displaying 20 results from an estimated 4000 matches similar to: ".libPaths() on Windows may return duplicated paths"
2017 Nov 24
0
libPaths displays truncated path?
peter dalgaard <pdalgd at gmail.com> writes:
[snip (40 lines)]
>> I don't quite understand the point about cause and effect. If
>> normalizePath changes the symbolic link from
>>
>> /cm/shared/apps/R/site-library/3.4.2
>>
>> to the actual directory
>>
>> /cm/shared/apps/R/site-library/3.4
>>
>> in libPaths, why does R
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
>
> ?
>
Because it is a symbolic link.
2011 Apr 02
0
reg.finalizer(): Multiple finalizers?
Hi,
I've got some questions regarding finalizers registered using
reg.finalizer(). I have a setup where in certain cases I wish to set
a new finalizer to an object that already got one. Since there is no
API for removing/replacing already registered finalizers (have been
"requested" previously on this list), I have basically just added a
new finalizer by calling reg.finalizer() a
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
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
2011 Aug 11
2
UNC windows path beginning with backslashes: normalizePath bug??
Hi,
Back in June I posted the message below, but had no replies. I've made a
little progress since then so this is to update anyone interested (!) and to
ask for comments.
Brief problem statement:
Under Windows, some parts of R don't handle UNC paths beginning with
backslashes. Specifically
a) Sys.glob() fails to find some files breaking (e.g.) Rcmdr plugins
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
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
0
R Package Installation Ignores libPaths Setting
Works for me. Which shell are you using? Are you setting .libPaths elsewhere?
Peter-Dalgaards-MacBook-Air:F pd$ R_LIBS=~/tmp Rscript -e '.libPaths()'
[1] "/Users/pd/tmp"
[2] "/Library/Frameworks/R.framework/Versions/3.2/Resources/library"
Peter-Dalgaards-MacBook-Air:F pd$ export R_LIBS=~/tmp
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
2011 May 31
1
how to tell if two file paths refer to the same file
Does R have a standard function that takes two file paths
(e.g., "./myDirectory/file" and "myDirectory/file")
and returns TRUE if those paths refer to the same file?
The paths make take different routes ("absolute" or
relative paths or via different symbolic or hard links)
to the same file or may use different naming conventions
(Windows or DOS 8.3 on Windows). If
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
2014 Sep 07
2
normalizePath is sometimes very slow for nonexistent UNC paths
I'm having an issue with occasionally slow-running calls to
normalizePath. If the path is a non-existent UNC path, then
normalizePath sometimes takes 6 or 7 seconds to run, rather than its
usual few microseconds. My big problem is that I can't reliably
reproduce this across machines.
The example below generates one or two slow runs out of 10000 on my
Windows machine. I haven't been
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
2016 Feb 18
0
R Package Installation Ignores libPaths Setting
You misunderstand what .libPaths does: it changes the path in the
current session only. Installation uses a different R process.
Set R_LIBS to change the library path for new sessions: see ?.libPath .
On 18/02/2016 07:00, Dario Strbenac wrote:
> Good day,
>
> If the library path is changed with .libPaths, the command
>
>
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"
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
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
2007 Oct 04
1
Problem with .libPaths & Rterm.exe (under Vista)
Dear list,
I?m using R embedded in another program (coded in tcl/tk) under Windows
Vista. In this context I don?t launch Rgui.exe but rather Rtem.exe.
Now I have a problem finding libraries not specifically installed as
administrator (and which are not in the path ?program files? but in
Contacts\Documents of the current user). To be precise, the user
launching my tcl/tk program can?t find
2011 Sep 14
3
normalizePath
Hi,
I update R from 2.10 to 2.13.
Then I find soma problems when I start R.
Warning infos as below:
#####
Warning message:
In normalizePath(c(new, .Library.site, .Library), "/") :
path[1]="": No such file or directory
R version 2.13.1 (2011-07-08)
Copyright (C) 2011 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: x86_64-pc-linux-gnu (64-bit)
R is