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 directly after the call of the initialization
routine?
Call the exit and initialization routines. That will not completely reset
things (it will not unload package DLLs for example), but it is the nearest
that is provided.
Thank you very much, I think that will be sufficient.
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?
Rf_endEmbeddedR does what ending an R session does, no more, no less.
--
Brian D. Ripley, [EMAIL PROTECTED]
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel