Skip to content
Prev 371360 / 398506 Next

To implement OO or not in R package, and if so, how to structure it?

I think you should consider whether the advantages of making an object-aware collections class are worth the effort... lists are the standard tool for this task in R, and are normally handled using the functional programming paradigm. Just make sure a sufficiently-complete set of methods are available for the objects you plan to make lists of.