R-beta: Not loading C library
Peter Dalgaard BSA
p.dalgaard@biostat.ku.dk
01 Apr 1998 00:24:28 +0200
Paul Gilbert <pgilbert@bank-banque-canada.ca> writes:
>
> PaulG> when you q() (ie. create the .RData file) then when R starts it
> PaulG> reloads a variable .Dyn.libs which indicates libraries which
> PaulG> have been loaded (even though they are not yet loaded in the new
> PaulG> session). I think if you rm(.Dyn.libs) before you do
> PaulG> library("class") then it may work.
> >However, this bug was fixed ``from 0.61.1 to 0.61.2''.
> >As was said by our release master, Peter Dalgaard,
> >0.61.2 has been a bug fix release where we have been careful not to
>
> Martin
> I just confirmed that Michael Kiefte seems to be experiencing this problem in
> 0.61.2 Alpha, so I'm not so sure it has been fixed. But, of course, I'm more
> concerned that it is fixed in 0.62.
> Paul
Argh. Right. The .Dyn.libs problem is still in 0.61.2. Like Martin, I
could have *sworn* that it was fixed...
A workaround is simply to remove .Dyn.libs in the startup code. It
should suffice to change the system Rprofile by having something like
this in it:
.First <- function() {
.Dyn.libs<<-NULL; rm(.Dyn.libs,pos=1)
if (interactive() && getenv("DISPLAY") != "") x11()
}
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._