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 <j...@climpact.com> 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 "<stdin>", line 1, in <module>
NameError: name 'r' is not defined


++



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 built from the svn trunk.

Best,
Irfan
------------------------------------------------------------------------------
This SF.net email is sponsored by

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

------------------------------------------------------------------------------
This SF.net email is sponsored by

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list




------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to