Re: [Rpy] py2 and threading

2010-03-31 Thread Brandon Invergo
obs.globalenv[res[0]] = res[1] print "Process %s output:" % os.getpid() print robs.r[res[0]] print robs.r.ls() Cheers, Brandon Invergo - Original Message From: Carson Farmer To: Laurent Gautier Cc: "RPy help, support and design discussion list" Sent: Wed, March

Re: [Rpy] py2 and threading

2010-03-30 Thread Nathaniel Smith
On Tue, Mar 30, 2010 at 5:02 PM, Carson Farmer 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

Re: [Rpy] py2 and threading

2010-03-30 Thread Carson Farmer
Thanks Laurent, > Multiprocessing is way to go (pickling was implemented to make it easier, > and there a google SoC project out bring storage-based arrays in). I think you're likely right... > R GUI builders could clearly and immediately benefit from having the GIL > released, but in the meanwhi

Re: [Rpy] py2 and threading

2010-03-19 Thread Laurent Gautier
This has not, or at least not as far as I know. Although it was/is possible to release the GIL: - this does not increase much the potential for simultaneous computation in R (simultaneous evaluation of R-level code amounts to crossing the streams). Multiprocessing is way to go (pickling was imp

[Rpy] py2 and threading

2010-03-18 Thread Carson Farmer
Hi list, I was just looking back on some old posts and there is some mention of releasing Python's GIL being on the TODO list... Has this been done/explored any further? Regards, Carson -- Carson J. Q. Farmer ISSP Doctoral Fellow National Centre for Geocomputation National University of Ireland