Hi there,

I want to write helper functions for a base class, which will be used
by its subclasses in the S4 world. This function ___will___ update
certain slots of its argument object. Please help me decide which one
of the following is a better approach with respect to coding style,
memory usage and speed:

o   Write a regular function.
o   Declare a generic and implement it just for the base class.


Thanks for sharing your insight and time,
gopi.
http://gopi-goswami.net/

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to