On 17 November 2013 17:18, Hodgess, Erin <hodge...@uhd.edu> wrote:

> I'm trying to install Rpy2 on a Centos 5 system.  Actually, I had it
> installed, but want to upgrade it to match R-3.0.2.  So this is what I have:
> ...
>     Traceback (most recent call last):
>       File "<string>", line 14, in ?
>       File "/usr/build/rpy2/setup.py", line 13
>         default_lib_directory = 'bin' if sys.platform=='win32' else 'lib'
>                                        ^
>     SyntaxError: invalid syntax
>

What version of Python is that running with? I think the conditional
expression syntax was new with Python 2.5. If you need to use Python 2.4,
you'll have to go back to an older version of rpy2. But that in turn may
not support the newest version of R.

Thomas
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to