Dear Christophe,
Could you please post some example code of what you are trying to achieve?
Christophe Genolini wrote:
Hi all,
Working with S4 object, I definine two class foo1 and foo2. I define
'[' (resp. '[<-') for the two classes.
Then I define a third class foo3 that inherit from both foo1 and foo2.
Is there a way to make '[' (resp. '[<-') for foo3 inherit from '['
(resp. '[<-') for foo1 and foo2?
Thanks
Christophe
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Corrado Topi
PhD Researcher
Global Climate Change and Biodiversity
Area 18,Department of Biology
University of York, York, YO10 5YW, UK
Phone: + 44 (0) 1904 328645, E-mail: ct...@york.ac.uk
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.