From pgilbert@bank-banque-canada.ca  Mon Jun 22 14:32:56 1998
From: pgilbert@bank-banque-canada.ca (Paul Gilbert)
Date: Mon, 22 Jun 1998 09:32:56 -0400
Subject: .First.lib
References: <98Jun17.172642edt.13467@mailgate.bank-banque-canada.ca> <13710.2598.967181.382367@pc87.maho.magnaeu.com>
Message-ID: <98Jun22.095547edt.13452@mailgate.bank-banque-canada.ca>

> > There seems to be a minor problem in .First.lib: the library argument
> > is all of $RLIBS. I think it should be just the one directory from
> > which the package is being taken.

> `all of $RLIBS' meaning the full path to the element of lib.loc where
> the package was found?  This is definitely right.  Otherwise, you do not
> have enough information to find e.g. an `.so' file to be loaded by
> library.dynam().

By "all of  $RLIBS" I meant all of the paths in $RLIBS, in my case

> .lib.loc
[1] "/home/res/gilp/dse/pub/Rdse/rlibs"
[2] "/home/res/gilp/padi/my.production/rlibs"
[3] "/home/res8/gilp/R-versions/R-0.62.1/library"
>
However, when I do library("dse") it is using a package in [1] and when
.First.lib for dse is executed I would like the "library" argument to be set to
.lib.loc[1] (in this case) not to  the three element vector .lib.loc.

Paul

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


.First.lib
Paul Gilbert