"import rpy" will import rpy, not rpy2.
Did you try following the examples in the documentation ?
http://rpy.sourceforge.net/rpy2/doc-2.1/html/index.html
L.
PS: glad to hear that there is interest in rpy2 for programming with data.
On 7/14/10 10:26 PM, Richard Bonneau wrote:
> Hi,
>
> I'm tr
> >>> import rpy
> >>> dir()
> ['__builtins__', '__doc__', '__name__', '__package__', 'numpy', 'rpy', 'sys']
>
> It seems like it loads, throws no errors , and the install seemed clean
> But it cannot find the function r.
> see below:
> >>> values = [r.dchisq(x, 4) for x in r.seq(0, 10, by=0.1)]
>
Hi,
I'm trying to get rpy working for a course I'm teaching in sept. I've
installed the code and all messages point toward a clean install.
I'm using rpy2-2.1.3, python 2.6, R 2.11.1 (not installed from source, but the
precompiled version with the gui for macOS10.6).
I have the developers to