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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-