It's not a good python practice to use:
from somewhere import *
Instead consider using:
from somewhere import function1, function2, function3 ... (as needed)
or simply:
import rpy
In the last case you will be using "rpy.r" instead of "r".
Can you test if this works for your mod_python setup
I tried to include use rpy within a Python script that runs on a mod_python
Apache server. Upon import with from rpy import *, I get
RPy_Exception: R Function "get" not found
The full error stack trace is pasted below. Any ideas? There was a similar post
concerning django, with the same error m
Revision: 562
http://rpy.svn.sourceforge.net/rpy/?rev=562&view=rev
Author: lgautier
Date: 2008-06-12 02:06:37 -0700 (Thu, 12 Jun 2008)
Log Message:
---
rinterface:
- functions evaluated in R_GlobalEnv
robjects:
- methods __setitem__, getNames and setNames for RVector