Re: [Rd] group generics

2009-12-03 Thread Ross Boylan
Thanks for your help. I had two concerns about using as: that it would impose some overhead, and that it would require me to code an explicit conversion function. I see now that the latter is not true; I don't know if the overhead makes much difference. On Thu, 2009-12-03 at 13:00 -0800, Martin

Re: [Rd] group generics

2009-12-03 Thread John Chambers
I missed the earlier round of this discussion and only am commenting now to say that this doesn't seem weird at all, if I understand what you're trying to do. Martin's basic suggestion, v - callGeneric(e1, as(e2, A)) seems the simplest solution. You just want to make another call to the

Re: [Rd] group generics

2009-12-03 Thread Ross Boylan
On Thu, 2009-12-03 at 14:25 -0800, John Chambers wrote: I missed the earlier round of this discussion and only am commenting now to say that this doesn't seem weird at all, if I understand what you're trying to do. Martin's basic suggestion, v - callGeneric(e1, as(e2, A)) seems the

Re: [Rd] group generics

2009-11-30 Thread Ross Boylan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin Morgan wrote: Hi Ross -- Ross Boylan r...@biostat.ucsf.edu writes: I have classes A and B, where B contains A. In the implementation of the group generic for B I would like to use the corresponding group generic for A. Is there a

Re: [Rd] group generics

2009-11-25 Thread Martin Morgan
Hi Ross -- Ross Boylan r...@biostat.ucsf.edu writes: I have classes A and B, where B contains A. In the implementation of the group generic for B I would like to use the corresponding group generic for A. Is there a way to do that? I would also appreciate any comments if what I'm trying

[Rd] group generics

2009-11-24 Thread Ross Boylan
I have classes A and B, where B contains A. In the implementation of the group generic for B I would like to use the corresponding group generic for A. Is there a way to do that? I would also appreciate any comments if what I'm trying to do seems like the wrong approach. Here's a stripped down