I have a Windows - RPY install problem that seem to be shared by others
posting to this list, but not consistently, and I can not find an
answer.

 

On Windows XP PCs I have gotten RPY to work, but there is a case (one
stubborn PC) where nothing seems to work.  The same error repeats itself
no matter which Python and R versions I try  (among Python 2.4 & 2.5 and
R 2.0  to 2.5).   The basic problem is that after 'from rpy import',
Python restarts when run interactively and form a script, it aborts.

 

I have installed NUMPY, SCIPY, the WIN32 extensions, plus NUMERIC  and I
ran the RPY exe install for Windows in all cases  (which is sequence
that word for me before).  I even tried ACTIVESTATE Python 2.4 and 2.5
packages. 

 

The same problem persists, which suggest a Windows XP issue of some
kind. I also can not rule out that NUMERIC did not install correctly.
Also the RPY install process ran surprisingly fast, compared to other
install steps, but did not show any error message.

 

Any help or suggestions are greatly appreciated.   

 

Here are examples

 

>>> from rpy import *

RHOME= C:\Program Files\R\R-2.2.0

RVERSION= 2.2.0

RVER= 2020

RUSER= C:\Documents and Settings\bmx

Loading the R DLL C:\Program Files\R\R-2.2.0\bin\R.dll .. Done.

Loading Rpy version 2020 ..

>>> ================================ RESTART
================================

 

>>> import rpy

RHOME= C:\Program Files\R\R-2.2.0

RVERSION= 2.2.0

RVER= 2020

RUSER= C:\Documents and Settings\bmx

Loading the R DLL C:\Program Files\R\R-2.2.0\bin\R.dll .. Done.

Loading Rpy version 2020 ..

>>> ================================ RESTART
================================

 

So after RESTART  I can not use RPY as so

 

>>> r.wilcox_test

 

Traceback (most recent call last):

  File "<pyshell#7>", line 1, in -toplevel-

    r.wilcox_test

NameError: name 'r' is not defined

 

>>> rpy.r.wilcox_test

 

Traceback (most recent call last):

  File "<pyshell#8>", line 1, in -toplevel-

    rpy.r.wilcox_test

NameError: name 'rpy' is not defined

>>> 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to