On Tue, Mar 30, 2010 at 5:02 PM, Carson Farmer <carson.far...@gmail.com> wrote:
> 1) As expected, if a plot is generated in a separate process, it is
> immediately destroyed once the process completes. I have tested this,
> and basically I get a plot for about half a second, then it
> disappears. Does anyone know of a way to get around this?
> 2) Assignments do not seem to span process' (again this is probably
> expected, and I'm just simply doing something wrong). If I do
> something like 'robjects.r("test <- c(1,2,3,4,5)")' in a subprocess,
> then 'test' is *not* available in the parent process (whereas it *is*
> obviously available in the subprocess). Does anyone know what I need
> to do to make this work properly?

I think the intended idea would be for the other process to *not*
complete, but rather hang around waiting for someone to give it the
next line of code to execute, and then run everything in that one
process.

See: 
http://docs.python.org/library/multiprocessing.html#exchanging-objects-between-processes

-- Nathaniel

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to