> I have just added something in the documentation for 2.1-dev > http://rpy.sourceforge.net/rpy2/doc-dev/html/callbacks.html#clean-up > That will hopefully be enough to get you started.
Still no joy: xn...@work:~> python Python 2.5.2 (r252:60911, Nov 26 2008, 00:44:29) [GCC 4.0.1 (Apple Inc. build 5490)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import rpy2.rinterface >>> rpy2.rinterface.initr() 0 >>> q = rpy2.rinterface.baseenv['q'] >>> q() xn...@work:~> The problem is not one of cleaning up the R namespace, as with a '.Last' or '.Last.sys' function in R (which I don't have), but of keeping the python interpreter alive after R quits. - Daniel ------------------------------------------------------------------------------ _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list