From jlindsey@luc.ac.be  Wed Sep 17 08:30:56 1997
From: jlindsey@luc.ac.be (Jim Lindsey)
Date: Wed, 17 Sep 1997 09:30:56 +0200 (MET DST)
Subject: R-alpha: fortran
Message-ID: <9709170730.AA19097@alpha.luc.ac.be>

I have a strange problem with calling fortran in 50a4. In longitudinal
analysis, I have a vector of times. When they are unequally spaced,
the user must supply them and things work fine when they are sent to
the fortran. If the data are balanced and equally spaced, the user
need not supply them and the function calculates them, say as
time <- 1:nt
When I feed this to the fortan, it receives it as a vector of
integers!!! I have to put
time=as.double(time)
in the call for it to work properly. I do not believe that this was a
problem before a4. I thought everything was a double in R?!
Jim
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


R-alpha: fortran
Jim Lindsey