Re: [Rd] Reset an embedded R.dll

2008-05-15 Thread Prof Brian Ripley
On Thu, 15 May 2008, Bernd Schoeller wrote: On Thu, 15 May 2008 06:04:51 -, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: Last question: Will I need to UNPROTECT_PTR all references held, or will the call to Rf_endEmbeddedR also free protected references? What is a 'reference' here? Rig

Re: [Rd] Reset an embedded R.dll

2008-05-15 Thread Bernd Schoeller
On Thu, 15 May 2008 06:04:51 -, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: Last question: Will I need to UNPROTECT_PTR all references held, or will the call to Rf_endEmbeddedR also free protected references? What is a 'reference' here? Right, my question was imprecise. I meant 'SEXP

Re: [Rd] Reset an embedded R.dll

2008-05-14 Thread Prof Brian Ripley
On Thu, 15 May 2008, Bernd Schoeller wrote: On Thu, 15 May 2008 07:15:15 +0200, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: What I would like to know, and I have not yet found an answer in the documentation: is there a way to 'reset' the interpreter to bring it to the state that it was direct

Re: [Rd] Reset an embedded R.dll

2008-05-14 Thread Bernd Schoeller
On Thu, 15 May 2008 07:15:15 +0200, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: What I would like to know, and I have not yet found an answer in the documentation: is there a way to 'reset' the interpreter to bring it to the state that it was directly after the call of the initialization r

Re: [Rd] Reset an embedded R.dll

2008-05-14 Thread Prof Brian Ripley
On Wed, 14 May 2008, Bernd Schoeller wrote: Dear List, I am learning how to use the R.dll unter Windows to embed an R interpreter into another programming language. What I would like to know, and I have not yet found an answer in the documentation: is there a way to 'reset' the interpreter

[Rd] Reset an embedded R.dll

2008-05-14 Thread Bernd Schoeller
Dear List, I am learning how to use the R.dll unter Windows to embed an R interpreter into another programming language. What I would like to know, and I have not yet found an answer in the documentation: is there a way to 'reset' the interpreter to bring it to the state that it was direc