[R] How to call time series functions from C ?

2009-05-07 Thread goon83
Hi everyone, I meet the problem to call R from C. Can someone tell me is it possible to call time series functions(such as ar and arima)from C program on linux platform, and then compile the C program to a standalone executable file? I know we can call some function defined in Rmath.h

Re: [R] How to call time series functions from C ?

2009-05-07 Thread Duncan Murdoch
On 5/7/2009 9:24 AM, goon83 wrote: Hi everyone, I meet the problem to call R from C. Can someone tell me is it possible to call time series functions(such as ar and arima)from C program on linux platform, and then compile the C program to a standalone executable file? I know we can

Re: [R] How to call time series functions from C ?

2009-05-07 Thread goon83
hi Duncan, tks for you response, it's depressed to know that i can not use time series of R to finish my study. I really think R is powerfull, i used it to finish all my statistic homework last year^_^. but i still wonder can i use the function of time series in the embedded way of C

Re: [R] How to call time series functions from C ?

2009-05-07 Thread Duncan Murdoch
On 5/7/2009 10:55 AM, goon83 wrote: hi Duncan, tks for you response, it's depressed to know that i can not use time series of R to finish my study. I really think R is powerfull, i used it to finish all my statistic homework last year^_^. but i still wonder can i use the function of time

Re: [R] How to call time series functions from C ?

2009-05-07 Thread goon83
Hi Duncan, Sorry, i miss the informatin in the previous message, you said that i can write a front end to call , does the front end can be implemented by c, and i can compile the c code to a standalone program. i will appreiciate for more detail information tks? ?

Re: [R] How to call time series functions from C ?

2009-05-07 Thread Whit Armstrong
you have a couple of options. If you require specific R functions to do what you want, then you will need to call R from C. I believe that Dirk has been working on an RInside package that does this. Alternatively, you can use my tslib package, which is a general time series library written in

Re: [R] How to call time series functions from C ?

2009-05-07 Thread Gabor Grothendieck
Do you have to use the entire xxxGB at once? If not store it in a database and fetch the portions for the current analysis as you need them. On Thu, May 7, 2009 at 10:55 AM, goon83 goo...@126.com wrote: hi Duncan, tks for you response, it's depressed to know that i can not use time series

Re: [R] How to call time series functions from C ?

2009-05-07 Thread Duncan Murdoch
On 5/7/2009 11:17 AM, goon83 wrote: Hi Duncan, Sorry, i miss the informatin in the previous message, you said that i can write a front end to call , does the front end can be implemented by c, and i can compile the c code to a standalone program. i will appreiciate for more detail