[R] usage and behavior of 'setIs'

2004-10-25 Thread Matthias . Kohl
Hello, am I using 'setIs' in the correct way in the subsequent (artifical) example? Do I have to specify explicit 'setAs' for 'list' and 'vector' or should this work automatically, since "getClass("List1")" states an explicit coerce also for these classes. I'm working with R 2.0.0 Patched (2004-

Re: [R] usage and behavior of 'setIs'

2004-10-25 Thread Witold Eryk Wolski
Hi Matthias, A similar problem to yours (with one level of inheritance less) was disccussed this month on the r-devel list. You find an answer from JChambers here: https://stat.ethz.ch/pipermail/r-devel/2004-October/030980.html And yes specifying _setAs_ to each _setIs_ with the coerce and repla

Re: [R] usage and behavior of 'setIs'

2004-10-25 Thread Matthias . Kohl
Thank you, Matthias > Hi Matthias, > > A similar problem to yours (with one level of inheritance less) was > disccussed this month on the r-devel list. > You find an answer from JChambers here: > > https://stat.ethz.ch/pipermail/r-devel/2004-October/030980.html > > And yes specifying _setAs_ to