Skip to content
Prev 10456 / 398502 Next

Help: Using R from C

On Wed, 28 Mar 2001, Prasad, Rajiv wrote:

            
Um.  Wherever did you get the idea that would work?  You have not
initialized R.  The examples given are to start and run the R main loop.
Even if you get this to work (and I think you can by looking carefully at
what the code in main.c does), you will have to cope with the R error
handler which longjmps to the R main loop.

You didn't say what you were trying to do with R from your C program.
Either follow the examples in src/gnuwin32/front-ends precisely and use
callbacks or multiple threads, or use the DCOM R server on CRAN (which is a
lot easier to use).