Skip to content
Prev 43553 / 63424 Next

S4 Reference Classes: declaring public and private methods

On 06/18/2012 01:01 AM, Janko Thyson wrote:
Hi Janko -- your question is a little ambiguous; if it's about a 
built-in facility to create public vs. private methods, I think the 
answer is no, there is no built-in facility.

For the more general question of how one might go about enforcing 
private methods, I can think of several convoluted starts, but these 
seem like terrible hacks and I wouldn't want to commit them to paper; 
perhaps someone else will be more bold.

Martin