Re: [Rpy] A terrible experience with rpy2.

2009-04-22 Thread Bo Peng
On Wed, Apr 22, 2009 at 10:33 PM, laurent wrote: > On Wed, 2009-04-22 at 12:16 -0500, Bo Peng wrote: > (...) I apologize for the wording of my previous email, which was sent, less than politely, out of my extreme frustration over a software I had high expectation. However, if you consider all the

Re: [Rpy] rpy2 memory leak

2009-04-22 Thread laurent
Thanks, I'll look into that ASAP. L. On Thu, 2009-04-23 at 12:29 +1000, Denham Robert wrote: > I know this was raised before, and I saw a suggestion that using > gc.collect seemed to fix things, but I am getting I think a memory leak > in rpy2 which doesn't seem to occur in rpy. This could be

Re: [Rpy] A terrible experience with rpy2.

2009-04-22 Thread laurent
On Wed, 2009-04-22 at 12:16 -0500, Bo Peng wrote: (...) > If the correct answer is r('R.Version()').subset('svn rev')[0][0], I > have to say that rpy2 is not for me. 1- There is not "one correct answer". There are several ways to achieve it. Other options are : import rpy2.robjects as ro ro.r

Re: [Rpy] rpy2 memory leak

2009-04-22 Thread Denham Robert
I know this was raised before, and I saw a suggestion that using gc.collect seemed to fix things, but I am getting I think a memory leak in rpy2 which doesn't seem to occur in rpy. This could be how I am coding things of course. Here is an example: import rpy2.robjects as robjects from numpy impor

[Rpy] A terrible experience with rpy2.

2009-04-22 Thread Bo Peng
Dear all, I have been a long time rpy user. rpy is *very simple* to use in that you essentially only need to remember two things: 1. Call a R function using r.func(). The only exception is to use _ for . in case that there is a dot in the function name (r.R_Version() for R.Version() and r.dev_off

[Rpy] how to cite RPy

2009-04-22 Thread Simone Gabbriellini
Dear List, is there a common form to cite RPy? I would like to do it in my PhD dissertation. many thanks, Simone Gabbriellini Department of Political and Social Sciences University of Pisa -- Stay on top of everything n

[Rpy] [ rpy-Support Requests-2721281 ] RPy2 with Fink's R: no LAPACK_LIBS; setup.py fails

2009-04-22 Thread SourceForge.net
Support Requests item #2721281, was opened at 2009-03-29 18:21 Message generated for change (Comment added) made by monipol You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=453022&aid=2721281&group_id=48422 Please note that this message will contain a full copy of th

[Rpy] RVector to python dictionary function including mclust example - comments anyone?

2009-04-22 Thread Boyd Blackwell
This works for me, includes doctest code. I would appreciate comments of any type as I am new to R and python. The only problems are (i) Warning messages: 1: closing unused connection 12 (c:\DOCUME~1\bdb112\LOCALS~1\Temp\RtmpbhGMMz\file6c6c10d9) and (ii) occasionally (about 1 in 10 or 1 in 20