[Rpy] R console: long output

2009-03-23 Thread Brandon Invergo
Hello, I'm enjoying the fun (self-imposed) task of learning Python, RPy2 and PyGTK all in one go, so this question may be partly due to my general status as a newbie. My application will have an embedded console in it. Everything is generally working nicely, however I've noticed that if I load a p

Re: [Rpy] R console: long output

2009-03-24 Thread Brandon Invergo
> >> What seems ideal to me would be a way to grab the R console output one > >> line at a time rather than all at once so I can just append those lines > >> individually to my gtk text buffer. I can easily do this for a specific > >> task, such as only for a data.frame, programmatically break it a

Re: [Rpy] Pickling a Rpy2 object

2009-04-29 Thread Brandon Invergo
bjects I'm pickling. When I try to pickle the globalEnv, I get this error: cPickle.PicklingError: Can't pickle : import of module rinterface failed How have other people gone about storing their R objects? Thanks! brandon invergo On Mon, 2009-04-06 at 11:29 -0400, Réjean Ducharme

Re: [Rpy] Pickling a Rpy2 object

2009-04-29 Thread Brandon Invergo
gets hairy, so being able to pickle the R globalEnv or somehow being able to route the file output of R's save.image command to a python object that can then be pickled would be the best.... Cheers, -brandon invergo On Thu, 2009-04-30 at 01:01 +0200, Brandon Invergo wrote: > I'm trying

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] export a package of R in python program

2010-04-07 Thread Brandon Invergo
There's no way of specifying versions in R's library() function, so I'm assuming that if you successfully have both versions of the package installed in R, they must have different names (I'm pretty sure installing a new version of a package overwrites the previous version). If that's the case,

Re: [Rpy] export a package of R in python program

2010-04-07 Thread Brandon Invergo
needs different parameters in each one, it makes a big mistake. I figured out that even I call the function with the prefix of the package it only realized the last one. Zahra. On Wed, Apr 7, 2010 at 6:56 PM, Brandon Invergo wrote: There's no way of specifying versions in R's library() f