Re: [Rd] reference classes: question on inheritance

2010-11-22 Thread Janko Thyson
> -Ursprüngliche Nachricht- > Von: r-devel-boun...@r-project.org [mailto:r-devel-boun...@r- > project.org] Im Auftrag von John Chambers > Gesendet: Montag, 22. November 2010 18:51 > An: r-devel@r-project.org > Betreff: Re: [Rd] reference classes: quest

Re: [Rd] reference classes: question on inheritance

2010-11-22 Thread John Chambers
>> >> What am I doing wrong here? Not using a recent enough version of R probably (and not telling us what version you are using). The warning (not an error) should not appear in current r-devel or 2.12-patched. In other words, works fine for me. John On 11/21/10 3:40 PM, Janko Thyson wrot

Re: [Rd] reference classes: question on inheritance

2010-11-21 Thread Janko Thyson
Hmm, interesting: it's the virtual class that causes the trouble. If a virtual class is a ref class, everything works fine. If it's a standard S4 class, it results in the error below. Regards, Janko > -Ursprüngliche Nachricht- > Von: Janko Thyson [mailto:janko.thy...@ku-eichstaett.de] > G

[Rd] reference classes: question on inheritance

2010-11-21 Thread Janko Thyson
Dear list, I have a reference class which should act as a "generic" superclass for other classes. I've read the respective section at ?setRefClass and put the name of the superclass to the 'contains' argument of an example subclass (see class defs below). Classnames are set in a way that shouldn't