Gregory,

I followed your steps (I had scipy already installed).

Result:

Ran 692 tests in 2.277s
OK
<unittest._TextTestResult run=692 errors=0 failures=0>

It works perfectly.

Thanks a lot,
Mirco


On May 19, 2008, at 12:04 PM, Gregory. R. Warnes wrote:

>
> It looks like you have a newer version of python than I do.  It is  
> proabably best at this point for you to compile your own copy of  
> RPy.  Fortunately, this is straightforward.
>
> Step -1: Ensure you have the gcc installed (installing XCode will do  
> the trick)
>
> Step 0: Download and Install numpy
>
>       Numpy is at http://www.scipy.org/Download
>
> Step 1: Download the Rpy source package: rpy-1.0.3.tar.gz
>
> Step 2: Unpack the source package
>
>       Use a gui tool, or issue the shell command:
>               
>               tar -xvzf rpy-1.0.3.tar.gz
>
>       in a directory containing rpy-1.0.3.tar.gz.
>
> Step 3: Build rpy
>
>       At the shell, change into the rpy directory:
>
>               cd rpy-1.0.3
>
>       and execute the command
>
>               python setup.py build
>
>   Step 4: Install rpy
>
>       at the shell execute the command
>
>               sudo python setup.py install
>
>       and enter your password at the prompt.
>
> This should create a working version of rpy, customizer to your  
> version of python and R.
>
> -G
>       
>
> On May 18, 2008, at 10:36PM , Mirco Musolesi wrote:
>
>>
>> Thanks Gregory.
>>
>> I downloaded the new mac binary for 1.3.0.
>>
>> Unfortunately, I got this error:
>>
>> rpy.py:1: RuntimeWarning: Python C API version mismatch for module
>> _rpy2070: This Python has API version 1013, module _rpy2070 has
>> version 1012.
>>    #
>>
>> Mirco
>>
>> On May 18, 2008, at 10:16 PM, Warnes, Gregory R wrote:
>>
>> > I've uploaded a new mac binary for 1.3.0 that supports 2.6.2 and
>> > 2.7.0.
>> >
>> > -G
>> > ------Original Message------
>> > From: Mirco Musolesi
>> > To: rpy-list@lists.sourceforge.net
>> > ReplyTo: RPy help,  support and design discussion list
>> > Sent: May 18, 2008 7:06 PM
>> > Subject: [Rpy] Problem with the installation of rpy on Mac  
>> (Leopard)
>> >
>> >
>> > Hello,
>> >
>> > I tried to install rpy.py on my Mac (running Mac OS X Leopard),  
>> but I
>> > got the following error:
>> >
>> > musolesi$ python rpy.py install
>> > Traceback (most recent call last):
>> >    File "rpy.py", line 134, in <module>
>> >      """ % RVERSION)
>> > RuntimeError: No module named _rpy2062
>> >
>> >        RPy module can not be imported. Please check if your rpy
>> >        installation supports R 2.6.2. If you have multiple R  
>> versions
>> >        installed, you may need to set RHOME before importing rpy.  
>> For
>> >        example:
>> >
>> >        >>> from rpy_options import set_options
>> >        >>> set_options(RHOME='c:/progra~1/r/rw2011/')
>> >        >>> from rpy import *
>> >
>> >
>> > I tried with the versions 2.6.2 and 2.7 of R. Unfortunately it  
>> seems
>> > that the version 2.6.1 of R cannot be installed in Leopard, I was
>> > wondering if it is the latest version that is supported.
>> >
>> > Thanks in advance for your help,
>> > Mirco
>> >
>> > --
>> > Mirco Musolesi
>> > Dept. of Computer Science, Dartmouth College
>> > 6211 Sudikoff Laboratory Hanover NH 03755 USA
>> > Web: http://www.cs.dartmouth.edu/~musolesi
>> >
>> >
>> >
>> >
>> >  
>> -------------------------------------------------------------------------
>> > This SF.net email is sponsored by: Microsoft
>> > Defy all challenges. Microsoft(R) Visual Studio 2008.
>> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> > _______________________________________________
>> > rpy-list mailing list
>> > rpy-list@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/rpy-list
>> >
>> >  
>> -------------------------------------------------------------------------
>> > This SF.net email is sponsored by: Microsoft
>> > Defy all challenges. Microsoft(R) Visual Studio 2008.
>> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
>> > rpy-list mailing list
>> > rpy-list@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/rpy-list
>>
>> --
>> Mirco Musolesi
>> Dept. of Computer Science, Dartmouth College
>> 6211 Sudikoff Laboratory Hanover NH 03755 USA
>> Web: http://www.cs.dartmouth.edu/~musolesi
>>
>>
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> rpy-list mailing list
>> rpy-list@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/rpy-list
>
> Gregory R. Warnes, Ph.D.
> Associate Professor
> Center for Biodefence Immune Modeling
>    and
> Department of Biostatistics and Computational Biology
> University of Rochester
>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
> rpy-list mailing list
> rpy-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rpy-list

--
Mirco Musolesi
Dept. of Computer Science, Dartmouth College
6211 Sudikoff Laboratory Hanover NH 03755 USA
Web: http://www.cs.dartmouth.edu/~musolesi




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to