KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I 'm unable to run rpy2 in python. with this code import rpy2.robjects as robjects Here's the full exceptions: RuntimeError: R_USER not defined. File "d:\py\r\r.python.py", line 1, in import rpy2.robjects as robjects File "c:\Python27\Lib\site-packages\rpy2\robjects\__init__.py", line 17, in <module> from rpy2.robjects.robject import RObjectMixin, RObject File "c:\Python27\Lib\site-packages\rpy2\robjects\robject.py", line 5, in <module> rpy2.rinterface.initr() I'm using window xp win32 Here're my locations: C:\Python27\Lib\site-packages\rpy2\robjects\robject.py C:\Program Files\R\R-2.15.0\bin\i386\R.exe C:\Python27\python.exe
Tags (comma-separated)
Save Edits
Cancel