This will not work for "anonymous" R objects, that R objects not having
an associated symbol (e.g., x = rpy2.robjects.IntVector([1,2,3]) ).
For what it's worth, pickling of low-level objects (rpy2.rinterface) is
working in the tip on bitbucket (that's the dev branch for 2.1). It is
using serializ
FWIW, the solution I have for now is to use dump(ls(), file="") to get a
deparsed string representation of all the objects in memory, which can
then be pickled. I'm not having problems with it right now in any simple
cases, but I can imagine there are situations where deparsing gets
hairy, so being
I'm trying to do something similar: I'd like to create a save file that
includes the current state of the R environment. I don't want to create
a separate file for the R environment via one of R's built-in commands,
so I thought I'd pickle globalEnv alongside some other objects I'm
pickling. When I