Re: [Rd] stop R mainloop without calling exit(1)

2006-08-31 Thread Jeffrey Horner
Thomas Kelder wrote: [...] > By the way, I use R version 2.2.1 in linux, because I got the "Error: > C stack usage is too close to the limit R" error in higher versions (I > saw there was a topic about this already: > https://stat.ethz.ch/pipermail/r-devel/2006-April/037219.html). I > tried to use

Re: [Rd] stop R mainloop without calling exit(1)

2006-08-31 Thread Thomas Kelder
Dear Professor Ripley, Thank you for your reply. I have a few questions left: > > But that's not true. The documented way is > > > > setup_Rmainloop > > run a loop (which can return) > > end_Rmainloop > > > > The problem was that the only documented way to shut R down cleanly was > > end_Rmainlo

Re: [Rd] stop R mainloop without calling exit(1)

2006-08-31 Thread Prof Brian Ripley
This is already covered in the R-devel version of R: please consult `Writing R Extensions' in that version. On Thu, 31 Aug 2006, Thomas Kelder wrote: > Hello, > > I'm trying to make my Java application work with R, which involves > sending and retrieving data and to run R functions from within t

[Rd] stop R mainloop without calling exit(1)

2006-08-31 Thread Thomas Kelder
Hello, I'm trying to make my Java application work with R, which involves sending and retrieving data and to run R functions from within the Java application. I also need to have "live interaction" with R, to show the R console output (e.g. warnings and print) and to enable the user to enter input