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.

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?

-- 
Luca Beltrame, Ph.D. - Translational Genomics Unit
Oncology Department, Mario Negri Institute

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
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