On 2011-11-24 18:13, Luca Beltrame wrote:
Hello again,

apologies for the frequent postings, but as I'm finding some stumbling blocks,
I'm trying to determine if it's an error on my part or my installation.

No problem. Good to see that people are trying to break the toy.

If I try to run the RS4_Auto_Type example from the rpy2 documentation, I get:

In [28]: %cpaste
Pasting code; enter '--' alone on the line to stop.
:from rpy2.robjects.packages import importr
:stats4 = importr('stats4')
:from rpy2.robjects.methods import RS4, RS4Auto_Type
:
:class MLE(RS4):
:  __metaclass__ = RS4Auto_Type
:  __rname__ = 'mle'
:  __rpackagename__ = 'stats4'
:--
Warning message:
In function (f, where, classes = character(), inherited = FALSE,  :
   non-generic function 'Biobase' given to findMethods()

[...]
LookupError: The object has no such attribute.

The culprit is at line 191 in robjects/methods.py:

for name, meth in itertools.izip(all_methods.do_slot("names"), all_methods):

Further debugging has shown that all_methods is empty.

Should I file a bug, or is it likely a local install problem?

I don't know. If you do file a bug report, you'll need the R version, Python version, and rpy2 version.

I just had a quick look and this is working here with R-2.14, Python 2.7, rpy2-2.3.0-dev (no matter Biobase is imported or not).




L.





------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d


_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to