[Rd] bug in methods' 'initialize' (or the functions called in turn) ?

From: Laurent Gautier <lgautier_at_altern.org>
Date: Thu 18 Nov 2004 - 07:37:46 EST


I experience a very strange behaviour when trying to instanciate a S4 class. A call like 'r <- new("MyClass", foo="bar")' returns apparently cleanly, but in fact a subsequent use of 'r' results in a 'r does not exist error message'. After a bit of hunting with 'debug', it seems that the bug is in 'initialize' (or one of the functions it calls in turn). All this while using R-devel from Nov. 16th (R-2.0.1-devel).

I did manage to make a simple example to reproduce the bug, but to do so one needs few packages from the bioconductor project. If this is not yet know and one shows interest, I can provide the few lines of code needed to reproduce it.


R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Wed Nov 17 18:46:33 2004

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 09:01:29 EST