search for: libpath

Displaying 20 results from an estimated 727 matches for "libpath".

Did you mean: libpaths
2013 Feb 15
1
Remove site path from .libPaths
...m 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] "/home/rkrug/R/i686-pc-linux-gnu-library/2.15" [2] "/usr/lib/R/site-library" [3] "/usr/lib/R/library" > But I want to have it > .libPaths() [1] "/home/rkrug/THE_DIRECTORY/library" [2] "/usr/lib/R/library" > The first part is eas...
2011 Aug 11
2
UNC windows path beginning with backslashes: normalizePath bug??
...nce 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 Sys.glob(file.path(.libPaths(), "*/etc/menus.txt")) fails to find files which are there b) update.packages(ask='graphics') fails when copying the updates into the destination folders In Renviron.site I define the site library with forward slashes, not backslashes thus... R_LIBS_SITE=//campden/share...
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 by...
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 k...
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 fr...
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 c...
2007 Jul 11
2
Changing default library
Hallo R experts, I got a question concerning the .libPaths(). if I do the command .libPaths() than the result is /usr/lib/R/library. This is the default folder. I now want to change this one into /home/csc/usr/lib/R/library. I thought it would work with the command .libPaths("/home/csc/usr/lib/R/library"). When I than do the command .libPaths()...
2005 Nov 06
2
Kernel compilation - 2.6, x86_64, CentOS4.1
...HOSTLD scripts/kconfig/qconf /usr/bin/ld: cannot find -lqt collect2: ld returned 1 exit status make[1]: *** [scripts/kconfig/qconf] Error 1 make: *** [xconfig] Error 2 and the fixes suggest removing the middle two lines in scripts/kconfig/Makefile (starting at line 130 for the 2.6.11.12 case): LIBPATH=$$DIR/lib; LIB=qt; \ - $(HOSTCXX) -print-multi-os-directory > /dev/null 2>&1 && \ - LIBPATH=$$DIR/lib/$$($(HOSTCXX) -print-multi-os-directory); \ if [ -f $$LIBPATH/libqt-mt.so ]; then LIB=qt-mt; fi; \ But that still returns the same fault. Can anyone advise? The same kernel...
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 version of R. Major versions are consider just the first two numbers in the dot-separated versions system. Apparently libPaths is "smart" enoug...
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...
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" "/us...
2006 Jun 08
2
install.packages() does not warn when 'lib' arg is missing on Linux or Windows
Hello, Man page for 'install.packages' says that if the 'lib' arg is missing, then it "defaults to '.libPaths()[1]' with a warning". But, given the 'install.packages' source code, it seems that this warning is issued only when 'length(.libPaths()) > 1'. So typically, this warning will appear on Mac OS X but not on a Linux or Windows systems with default settings. On my Mac OS X...
2011 Mar 16
0
.libPaths() on Windows may return duplicated paths
In R v2.12.2 patched (2011-03-13 r54787) and also in R v2.13.0 devel (2011-03-15 r54806), .libPaths() may return the multiple paths referring to the same "normalized" path name. Here is an example from Rterm --vanilla using R v2.12.2 patched: > paths <- .libPaths(c("C:/", "C:\\")) > paths [1] "C:/" [2] "C:\\" [3] "C:/PROGRA~1/R/R-...
2016 Oct 26
2
improve 'package not installed' load errors?
...gt;> Hi R-devel, >> >> One of the more common issues that new R users see, and become stumped >> by, is error messages during package load of the form: >> >> > library(ggplot2) >> Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), >> versionCheck = vI[[j]]) : >> there is no package called 'Rcpp' >> Error: package or namespace load failed for 'ggplot2' >> >> Typically, error messages of this form are caused simply by one or >> more dependent pac...
2010 Jul 01
1
How best to set library search path so user libraries come first
I want my local libraries to have priority over the system installed ones, which, as far as I can make out from help(".libPaths"), means they have to come first in that list (it doesn't actually_say_ so, but that seems to be the idea). We have R_LIBS_USER which looks made for specifying where I keep my own libraries. Unfortunately it comes last in .libPaths() [which appears to me to be a bug (1) if that mean...
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. ?.libPaths says "For consistency, the paths are always normalized by normalizePath(winslash = "/")." and ?normalizePath says "...th...
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 er...
2007 Feb 09
1
speex in C# please help
...namespace Speex { ///<summary> ///the following class is the win32 SPEEX API that retrieve ///methods and structures from the libspeex file ///</summary> public unsafe class Speex_win32 { #region Speex Constants //global speex file that contains the api(s) public const string libpath = "libspeex.dll"; public const int Frame_Size = 160; public const int Max_Frame_Size = 2000; public const int Speex_Get_Frame_Size = 3; public const int Speex_Set_Quality = 4; public const int Speex_nb_Mode = 3; //create the structure that will hold the speexbits public struct Spee...
2010 Jan 26
1
update.packages on MS Windows with //server/share paths
...08/2008-April/160963.html where Prof Ripley opines "The issue appears to be that your OS is garbling file names", and it surely does seem to be a filename problem - in combination R and Windows don't seem to be handling the '//server/share' path construction. I have: > .libPaths() [1] "//Server02/stats/R/library/2.10" "//Server02/stats/R/R-Current/library" I can work around by mapping a drive letter to the '//server/share', but prefer not to (for local reasons). In CHANGES.R-2.10.1pat I find CHANGES IN R VERSION 2.7.2 patched o dir.cr...
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...