Displaying 20 results from an estimated 10000 matches similar to: "library() and lib.loc"
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
2010 Sep 02
1
Using library and lib.loc
Hi,
I didn't find any post on this subject so I ll ask you some advices.
Let's say that I have two library trees.
Number 1 is the default R library tree on path1
Number 2 is another library tree on a server with all packages on path2.
When I set library(aaMI,lib.loc=paths2) it loads the package even if its not on default R library
When I set library(fOptions,lib.loc=paths2) it
2002 Oct 17
1
Startup on Windows 2000
I am having difficulty coming to grips with Appendix B.2 of the
otherwise very useful "An Introduction to R" and the related help file
for Startup. I am running RGui 1.6.0 on a Windows 2000 machine from the
default installation. How the concepts discussed in B.2 and the Startup
help file relate to what I see on my machine is something of a mystery.
I quote from the Startup file:
2003 Mar 03
1
How to change the default library directory?
I installed SJava package at $R_HOME/lib/R/library/
When I conduct library(SJava), I always need to explicitly specify the
library path, how could I change the default library path?
I have included the SJava path in the LD_LIBRARY_PATH variable as:
%echo $LD_LIBRARY_PATH
R_HOME/lib/R/library:R_HOME/lib/R/library/SJava/libs:/usr/java/j2sdk1.4.0_01/jr$
The result in R is as:
2002 Jan 04
1
Patch for 2.5.1 on Tru64 UNIX 5.x
Tru64 UNIX has getaddrinfo but not by that name. Including <netdb.h>
#defines getaddrinfo to ogetaddrinfo or ngetaddrinfo which exists in
/usr/shlib/libc.so. So, AC_CHECK_FUNC(getaddrinfo) isn't enough to
test for getaddrinfo. Best to AC_TRY_LINK so the #define takes effect.
--
albert chin (china@thewrittenword.com)
-- snip snip
--- configure.in.orig Thu Jan 3 19:03:54 2002
+++
2003 Oct 01
5
Recent OpenSSL vulnerability require rebuild of OpenSSH
We have OpenSSH built against a static version of the OpenSSL library.
Do the recent OpenSSL vulnerabilities necessitate a rebuild of
OpenSSH?
http://www.openssl.org/news/secadv_20030930.txt
>From the description of the four bugs, I'm inclined to think not.
--
albert chin (china at thewrittenword.com)
2001 Feb 15
4
package dependence
Hi,
I want to create several packages, with package Aa depending on functions
in package A. My directories with .r and .Rd are organized as follows
./A/man/*.Rd
./A/R/*.r
./Aa/man/*.Rd
./Aa/R/*.r
Afre creatin package A with
R CMD check A
R CMD INSTALL --library=lib A
I then have
./lib/A/help etc
If I try to do
R CMD check Aa
R CMD INSTALL --library=lib Aa
I am getting
* checking
2018 Jul 19
2
Library lib.loc Option Ignored for Dependencies
Good day,
If there's a library folder of the latest R packages and a particular package from it is loaded using the lib.loc option, the dependencies of that package are still attempted to be loaded from another folder of older packages specified by R_LIBS, which may cause errors about version requirements not being met. The documentation of the library function doesn't explain what the
2007 Oct 29
2
a package depending on other packages does not pass checking on windows
Dear developers,
I am writing a package that depends on some other packages. The
dependencies are stated in the `description' file under "Depends". They
are installed in my private library, which is pointed to by setting
R_LIBS in .Renviron, and are available if R is started normally.
However, when I try to `R CMD check' my package, R complains about the
dependencies being not
2018 Jul 21
3
Library lib.loc Option Ignored for Dependencies
>>>>> Benjamin Tyner
>>>>> on Fri, 20 Jul 2018 19:42:09 -0400 writes:
> Here's a trick/workaround; if lib.loc is the path to your
> library, then prior to calling library(),
>> environment(.libPaths)$.lib.loc <- lib.loc
Well, that is quite a "trick" -- and potentially a pretty
dangerous one, not intended when making
2024 Jan 07
1
size_t ndest_constraints = 0i in ssh-add.c
Is the use of "0i" a typo in main() from ssh-add.c:
struct dest_constraint **dest_constraints = NULL;
size_t ndest_constraints = 0i, ncerts = 0;
--
albert chin (china at thewrittenword.com)
2003 Apr 29
1
Rprofile.site and check/build (PR#2872)
Hi,
Apparently R-1.7.0 (and possibly earlier versions too) do
not care much about what is in $R_HOME/etc/Rprofile.site
when calling 'R CMD check' or 'R CMD build'. This
is annoying when having libraries (packages) in alternative locations.
Cheers,
Laurent
2005 Sep 08
1
Install packages to non-default lib on Windows
We are trying to setup a Windows server that will allow any of our
users to build a binary R package given a source package.
The idea is to have a central R installation and allow users to
install packages to their own package library for the purposes of
binary package building.
It seems, however, that write access to $R_HOME is required as part of
the install step even when -l is used to
2019 Sep 08
1
Error: package or namespace load failed for ‘utils
Also, check the settings of R_HOME and/or R_LIBS.
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Sun, Sep 8, 2019 at 9:58 AM William Dunlap <wdunlap at tibco.com> wrote:
> Look at section 6.1 of the R Installation and Admin manual.
>
> 6.1 Default packages
>
> The set of packages loaded on startup is by default
>
> > getOption("defaultPackages")
> [1]
2018 Jul 24
4
Library lib.loc Option Ignored for Dependencies
>>>>> Benjamin Tyner
>>>>> on Sat, 21 Jul 2018 13:42:43 -0400 writes:
> Not sure whether it is the same issue as was raised here:
> https://stat.ethz.ch/pipermail/r-devel/2010-October/058729.html
> but in any case perhaps the problem could partially be remedied on line
> 245 of src/library/base/R/library.R by passing the lib.loc to
2002 Apr 09
3
getaddrinfo.c error compiling rsync on tru64 5.1A
i've applied albert chin's patch on configure.in file:
http://lists.samba.org/pipermail/rsync/2002-January/005726.html,
but i still getting the error:
cc: Error: lib/getaddrinfo.c, line 180: In this statement, "EAI_MAX" is not
declared. (undeclared)
thanks for any advice
Martin Sigilfredo
_________________________________________________________________
Join the world’s
2004 Sep 21
2
4-STABLE and 3Ware 9000 series controllers
Anyone having good results with 4-STABLE and the 3Ware 9000 series
controllers?
--
albert chin (china@thewrittenword.com)
2002 Oct 21
5
RFC: Loading packages at startup
I've been kicking the following idea around for a while, and am now
proposing to put some version into 1.7.0. I'd be interested in
comments on the desirability and the design, before I start writing
any code.
S4 introduced a file .S.chapters which can contain a list of S
chapters (equivalent to R packages) to be loaded on start-up. This
was the germ of this proposal.
Proposal:
Extend
2001 Aug 07
1
(fwd from mbp@samba.org) CVS update: rsync
On 6 Aug 2001, Albert Chin-A-Young <china@thewrittenword.com> wrote:
> On Mon, Aug 06, 2001 at 10:30:50PM +1000, Martin Pool wrote:
> > Albert, I'd be interested to hear your comments on these, if you have
> > time.
>
> AC_CHECK_TYPE([socklen_t], [int]) is not robust enough.
I had a feeling it was too simple to be correct.. :)
> Are you familiar with an ftp
2010 Mar 05
2
[PATCH] R ignores PATH_MAX and fails in long directories (PR#14228)
Full_Name: Murray Stokely
Version: 2.10.1
OS: Linux
Submission from: (NULL) (216.239.45.4)
The Defn.h header includes limits.h for PATH_MAX and then checks if it hasn't
been defined and if not sets something manually. Some of the R code uses
PATH_MAX but a lot of other functions in unix/sys-unix.c and main/startup.c just
hardcodes a limit of 256 characters.
In my environment this is not