[Rpy] SF.net SVN: rpy: [566] branches/rpy_nextgen/setup.py

2008-06-25 Thread lgautier
Revision: 566 http://rpy.svn.sourceforge.net/rpy/?rev=566&view=rev Author: lgautier Date: 2008-06-25 14:31:56 -0700 (Wed, 25 Jun 2008) Log Message: --- Ooops. 'rlike' not ready for prime-time. Modified Paths: -- branches/rpy_nextgen/setup.py Modified: bran

Re: [Rpy] data.frames in rpy2

2008-06-25 Thread Laurent Gautier
2008/6/25 Sean Davis <[EMAIL PROTECTED]>: > First, Laurent, I am giving rpy2 a try and REALLY like what I see so > far. It is very much more intuitive, both from the point-of-view of > an R programmer as well as for python programmers. > > Data frames are very nice R data structures, so I would li

[Rpy] SF.net SVN: rpy: [565] branches/rpy_nextgen/rpy/robjects/tests/testRFormula .py

2008-06-25 Thread lgautier
Revision: 565 http://rpy.svn.sourceforge.net/rpy/?rev=565&view=rev Author: lgautier Date: 2008-06-25 14:07:08 -0700 (Wed, 25 Jun 2008) Log Message: --- Missing tests for RFormula Added Paths: --- branches/rpy_nextgen/rpy/robjects/tests/testRFormula.py Added: b

[Rpy] SF.net SVN: rpy: [564] branches/rpy_nextgen

2008-06-25 Thread lgautier
Revision: 564 http://rpy.svn.sourceforge.net/rpy/?rev=564&view=rev Author: lgautier Date: 2008-06-25 13:50:25 -0700 (Wed, 25 Jun 2008) Log Message: --- Long-due commit. setup: o package name is now ryp2 (no longer rpython) o version bumped to 1.0a1 (might change to 2.0

Re: [Rpy] rpy and mod_python problem

2008-06-25 Thread Toby Hocking
I just switched from R-2.7 to R-2.2.1 and kept the other versions constant, and now RPy works fine. So it seems that was the culprit. I have not tested rpy2 with R-2.7, but I will try that soon. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Laurent Gautie

[Rpy] data.frames in rpy2

2008-06-25 Thread Sean Davis
First, Laurent, I am giving rpy2 a try and REALLY like what I see so far. It is very much more intuitive, both from the point-of-view of an R programmer as well as for python programmers. Data frames are very nice R data structures, so I would like to capitalize on them and the changes included i

Re: [Rpy] rpy and mod_python problem

2008-06-25 Thread Laurent Gautier
2008/6/25 Toby Hocking <[EMAIL PROTECTED]>: > I'm inclined to think that it is NOT an inherent incompatibility problem with > mod_python and RPy since I have a working Rpy/apache/mod_python system on top > of Django. Relevant package versions for the working system are: > > Django-rev7716 > Apach

Re: [Rpy] a few high-level questions about rpy2 and a question about matrix indexing

2008-06-25 Thread Laurent Gautier
2008/6/25 laurent oget <[EMAIL PROTECTED]>: > Wise Rpy fellows, > > I just came back to using R after a few years and am happy to see that the > RPy project is alive and well, and hope I will be able to provide some help > in the future. > > For now I have a few questions about rpy2: > -is there a

Re: [Rpy] rpy and mod_python problem

2008-06-25 Thread Toby Hocking
I'm inclined to think that it is NOT an inherent incompatibility problem with mod_python and RPy since I have a working Rpy/apache/mod_python system on top of Django. Relevant package versions for the working system are: Django-rev7716 Apache-2.0.55-4ubuntu2.3 mod_python-3.1.4-0ubuntu1.1 R-2.2.1

[Rpy] plots messed up

2008-06-25 Thread Patrick Jackson
I have no idea what is going on, but a few days ago all of the sudden my png images are appearing with only partial plots. It is giving me the hort. line, the plot points, and that is all. This is what my code looks like: ls_fit = r.lsfit(stat_table, real_table) gradient = ls_fit['coeffi

[Rpy] plots messed up

2008-06-25 Thread Patrick Jackson
I have no idea what is going on, but a few days ago all of the sudden my png images are appearing with only partial plots. It is giving me the hort. line, the plot points, and that is all. This is what my code looks like: ls_fit = r.lsfit(stat_table, real_table) gradient = ls_fit['coeffi

Re: [Rpy] rpy and mod_python problem

2008-06-25 Thread Christof Winter
Laurent Gautier wrote, On 06/25/08 15:47: > Wild guess: this has something to do with the multiple interpreters > http://www.modpython.org/live/current/doc-html/pyapi-interps.html > > (reading the doc Python's C-level "Py_NewInterpreter()" is hinting that > this is likely the nature of the problem

[Rpy] a few high-level questions about rpy2 and a question about matrix indexing

2008-06-25 Thread laurent oget
Wise Rpy fellows, I just came back to using R after a few years and am happy to see that the RPy project is alive and well, and hope I will be able to provide some help in the future. For now I have a few questions about rpy2: -is there a document describing the motivation behind the rewrite and

Re: [Rpy] rpy and mod_python problem

2008-06-25 Thread Laurent Gautier
Wild guess: this has something to do with the multiple interpreters http://www.modpython.org/live/current/doc-html/pyapi-interps.html (reading the doc Python's C-level "Py_NewInterpreter()" is hinting that this is likely the nature of the problem). For now, there is not much to do beside using py

Re: [Rpy] rpy and mod_python problem

2008-06-25 Thread Christof Winter
Toby Hocking wrote, On 06/24/08 20:20: > Hi Christof, did you ever resolve this problem? I am experiencing it now, and > I was wondering what you did for a solution/workaround. Thanks. Hi Toby: The problem is still there. My current workaround is to use cgi instead of mod_python, which is much s

Re: [Rpy] rpy and mod_python problem

2008-06-25 Thread Christof Winter
Renato Alves wrote, On 06/25/08 13:58: > I just tried it myself and couldn't understand how it works ... > > I got the same error as you, but even more, after two or three refreshes > on the page, I get: > > File "/var/tmp/modpython/mptest.py", line 2, in > import rpy > > File "/usr/lib/python

Re: [Rpy] rpy and mod_python problem

2008-06-25 Thread Renato Alves
I just tried it myself and couldn't understand how it works ... I got the same error as you, but even more, after two or three refreshes on the page, I get: File "/var/tmp/modpython/mptest.py", line 2, in import rpy File "/usr/lib/python2.5/site-packages/rpy.py", line 346, in r = R() File "/

Re: [Rpy] Rpy on Mac

2008-06-25 Thread John Reid
Warnes, Gregory R. wrote: > Try locating the libR.dylib file and then placing the exact correct > directory in the LD_LIBRARY_PATH environment variable. Just in case this is relevant: On my MAC I needed to use the DYLD_LIBRARY_PATH rather than the LD_LIBRARY_PATH common on UNIXes I've used befo