Hello, when working with the rpy2 bioconductor extensions I noticed that one of the wrapped classes in bioc.annotationdbi was giving rather strange RRuntimeErrors, so I decided to dive in.
The offending code was _subset = getmethod("subset", signature = StrVector(["AnnDbBimap", ]), where="package:AnnotationDbi") when invoked directly (i.e. _subset() without the class wrapping) and without any default argument, instead of expecting an error for nonspecified arguments, I get Error in as.vector(x, "character") : cannot coerce type 'closure' to vector of type 'character' However this is a call without arguments, so something unexpected. Surprisingly, a similar call to the superclass ("Bimap") does not seem to have this problem. How to debug further? Or am I doing something wrong? For reference, I run Python 2.7 w/rpy2 2.2 (the latest available verison), self compiled, and R 2.14. -- Luca Beltrame, Ph.D. - Translational Genomics Unit Oncology Department, Mario Negri Institute
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