Re: [Rpy] Name error: "r" is not defined

2010-08-06 Thread i...@whywouldwe.com
Been a while but as I recall it's import rpy rpy.function_name('foo') or something along those lines (eg name twice) Irfan Habib wrote: On Fri, Aug 6, 2010 at 8:59 AM, jul wrote: Use : from rpy import * instead of: import rpy That is precisely what I'm doing. from rpy i

Re: [Rpy] Name error: "r" is not defined

2010-08-06 Thread Irfan Habib
On Fri, Aug 6, 2010 at 8:59 AM, jul wrote: > Use  : > from rpy import * > > instead of: > import rpy That is precisely what I'm doing. >>> from rpy import * >>> r.wilcox_test Traceback (most recent call last): File "", line 1, in NameError: name 'r' is not defined > > ++ > > > > Le 06/08/2

Re: [Rpy] Name error: "r" is not defined

2010-08-06 Thread jul
Use : from rpy import * instead of: import rpy ++ Le 06/08/2010 09:56, Irfan Habib a écrit : > Hi, > > I've installed both R and pry on my mac system. When I import rpy I get no > errors. However, when I try to use any r methods, I get the error: > > Nameerror: name 'r' is not defined. > > I

[Rpy] Name error: "r" is not defined

2010-08-06 Thread Irfan Habib
Hi, I've installed both R and pry on my mac system. When I import rpy I get no errors. However, when I try to use any r methods, I get the error: Nameerror: name 'r' is not defined. I built from the svn trunk. Best, Irfan -