RPy / R

Hans Georg Krauthaeuser hgk at et.uni-magdeburg.de
Tue Feb 7 05:58:32 EST 2006


jason schrieb:
> Hello:
> 
> I installed the following:
> 
> python-2.4.2.msi
> pywin32-207.win32-py2.4.exe
> R-2.2.1-win32.exe
> rpy-0.4.6-R-2.0.0-to-2.2.1-py24.win32.exe
> 
> on a Windows XP (SP2) box.
> 
> When I try to run the following (source: 
> http://rpy.sourceforge.net/plotting-with-RPy.html) in IDLE
> 
>>>>from rpy import *
>>>>x = range(0, 10)
>>>>y = [ 2*i for i in x ]
>>>>r.plot_default(x, y)

Jason,

the example runs here without problems.

My configuration:

Python 2.3.5 (#2, Aug 30 2005, 15:50:26)
[GCC 4.0.2 20050821 (prerelease) (Debian 4.0.1-6)] on linux2
Type "copyright", "credits" or "license()" for more information.

>>> r.version
{'status': '', 'major': '2', 'language': 'R', 'os': 'linux-gnu', 'svn
rev': '36812', 'system': 'i486, linux-gnu', 'month': '12', 'platform':
'i486-pc-linux-gnu', 'year': '2005', 'arch': 'i486', 'day': '20',
'minor': '2.1'}

Seems to be a problem with your installation...

Hans Georg



More information about the Python-list mailing list