[R] Foreign function call

rkevinburton at charter.net rkevinburton at charter.net
Wed Feb 4 22:25:29 CET 2009


Thank you that helps alot. Now the question is how do I know that it is in the 'stats' package? getNativeSymbolInfo doesn't seem to find 'RTSconv'.

Kevin

---- Sundar Dorai-Raj <sdorairaj at gmail.com> wrote: 
> You're missing that "R_TSConv" is an R object. You can use
> stats:::R_TSConv to see the value. Not sure how this helps you though.
> 
> On Wed, Feb 4, 2009 at 10:08 AM,  <rkevinburton at charter.net> wrote:
> > Let me get more specific. I think it this can be answered then I can translate the information to other calls. In the arima 'R' code there is a reference to
> >
> > .Call(R_TSconv, a, b)
> >
> > If from the console I type:
> >
> >> .Call(R_TSConv, c(1,-1), c(1,-1))
> >
> > I get:
> >
> > Error: object "R_TSConv" not found
> >
> > If I do
> >
> >> getNativeSymbolInfo("R_TSConv")
> >
> > I get:
> >
> > Error in FUN("R_TSConv"[[1L]], ...) : no such symbol R_TSConv
> >
> > What am I missing?
> >
> > Thank you.
> >
> > Kevin
> >
> > ______________________________________________
> > R-help at r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
> >




More information about the R-help mailing list