Does the following happen for anyone else?
/space/nsg/8/users> python
Python 2.6.3 (r263:75183, Oct 16 2009, 12:24:10)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-10)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import rpy2.robjects
>>> print rpy2.__version__
2.1.0rc
>>> rpy2.robjects.r.formula('y~x')
Error in parse(text = x) : unexpected '<' in "<"
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/space/nsg/8/users/mypythonmodules/lib/python2.5/site-packages/rpy2/robjects/functions.py",
line 81, in __call__
return super(SignatureTranslatedFunction, self).__call__(*args,
**kwargs)
File
"/space/nsg/8/users/mypythonmodules/lib/python2.5/site-packages/rpy2/robjects/functions.py",
line 36, in __call__
res = conversion.ri2py(res)
File
"/space/nsg/8/users/mypythonmodules/lib/python2.5/site-packages/rpy2/robjects/__init__.py",
line 80, in default_ri2py
res = Formula(o)
File
"/space/nsg/8/users/mypythonmodules/lib/python2.5/site-packages/rpy2/robjects/__init__.py",
line 190, in __init__
env = environment)
rpy2.rinterface.RRuntimeError: Error in parse(text = x) : unexpected '<'
in "<"
>>>
I pulled this rpy2-2.1rc tarball off of bitbucket this morning. (I can do
other things ... build dataframes from numpy arrays, run lm() etc, I just
can't create formulas.)
-best
Gary
The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
rpy-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rpy-list