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. 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
In fact I'm wondering if there is a stepwise() function in R that works just as it works in Splus...I tried the stepfun library but it wasn't right, that is why I decided to copy the stepwise() function from Splus into R and got this problem. Cheers, Ko-Kang On Wed, 15 Aug 2001, Jim Lemon wrote:> Date: Wed, 15 Aug 2001 21:36:35 +1000 > From: Jim Lemon <bitwrit at ozemail.com.au> > To: Ko-Kang Kevin Wang <kwan022 at stat.auckland.ac.nz> > Subject: Re: [R] FORTRAN in R > > Ko-Kang Kevin Wang wrote: > > > > 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 > > > > I'm grappling with the same problem in trying to port an S-PLUS package > to R. S-PLUS has a number of preloaded functions that aren't available > in R, and in some cases, aren't even visible until you call them and > they aren't there. > > Jim >------------------------------------------------------------------------------ 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._