[R] FORTRAN in R
Torsten Hothorn
Torsten.Hothorn at rzmail.uni-erlangen.de
Wed Aug 15 13:52:19 CEST 2001
> Hi,
>
> Can anyone tell me what might cause this error message?
>
> Error in .Fortran("swallocate", as.double(mtx), as.double(wt),
> as.integer(n), :
> C/Fortran function name not in load table
>
> This occurs when I copied the Splus stepwise() function into R. I can
> source into R fine, but when I need to call that function on some dataset,
> I got the above error message.
try
.Fortran(symbol.For("swallocate"), as.double(mtx), as.double(wt), ...
which appends "_" to the symbol name.
However, just copying sources from Splus may be a breach of copyright.
Torsten
>
> Platform WindowsME.
>
> Thanks a lot,
>
> Kevin
>
> ------------------------------------------------------------------------------
> Ko-Kang Kevin Wang
> Statistical Analysis Division Leader
> Software Developers' Klub (SDK)
> University of Auckland
> New Zealand
>
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list