Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.LNX.4.33.0211011044400.390-100000@aberdeen.fpcc.net>
Date: 2002-11-01T18:00:00Z
From: Rob Lee
Subject: load of methods package causes strange return values

I have a small function that calls a shared-object(built on Fortran 
sources):
>dyn.load("mdl.so")
>mdl(notCensored, censored)
$mean
14.85  #This is correct

Here's the strange part - when I load the methods library, my function 
starts returning garbage!  No other library seems to have this impact.
>dyn.load("mdl.so")
>library(methods)
>mdl(notCensored, censored)
$mean
1.011574e-34  #This bogus!

I've beat my head on the wall trying to figure this one out.

-R



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._