If anyone else encounters this problem, it appears to be something with R. After installing R from source (2.10.1) rather than the Ubuntu package (2.9.2), Rpy2 works as expected.
On Thu, Feb 25, 2010 at 7:07 PM, Mike Sarahan <msara...@gmail.com> wrote: > Hi all, > > I am running Ubuntu 9.10, with R version 2.9.2. I have this problem > on both RPy2.1 alpha3 and the mercurial repository. Both compile > cleanly, and I can import rpy2. > > However, when I try to import robject or any of its children, I get this > error: > > --------------------------------------------------------------------------- > LookupError Traceback (most recent call last) > > /home/msarahan/Downloads/<ipython console> in <module>() > > /home/msarahan/Downloads/build/bdist.linux-x86_64/egg/rpy2/robjects/__init__.py > in <module>() > > /home/msarahan/Downloads/build/bdist.linux-x86_64/egg/rpy2/robjects/robject.py > in <module>() > > /home/msarahan/Downloads/build/bdist.linux-x86_64/egg/rpy2/robjects/robject.py > in RObjectMixin() > > LookupError: 'show' not found > > ---------------------------------------------------------------------------------------------- > > I checked the source in robject.py, and the code in rinterface.py. I > could not find any reference to baseenv or to show anywhere else, > except for where it is defined as part of the RObjectMixin class. > > Any ideas? > ------------------------------------------------------------------------------ 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 rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list