I am new to R programming but have dived into a medium sized modelling software development project.

Having come from a Java OO background I have a couple of questions about S4 objects.



Is there a way to make S4 slots (and methods) private and hence force the use of accessor methods?



Is there a straight-forward way to implement pass-by-reference for method parameters?

I am currently returning and overwritting updated objects which is clunky and costly and would like a more efficient way of doing this.



Can anyone point me to some useful texts on S4 programming apart from the following:

Chambers - Software for Data Analysis: Programming with R

Venables - S Programming



Thanks heaps



Troy






___________________________________________________________________________

    Australian Antarctic Division - Commonwealth of Australia
IMPORTANT: This transmission is intended for the addressee only. If you are not the
intended recipient, you are notified that use or dissemination of this communication is
strictly prohibited by Commonwealth law. If you have received this transmission in error,
please notify the sender immediately by e-mail or by telephoning +61 3 6232 3209 and
DELETE the message.
        Visit our web site at http://www.antarctica.gov.au/
___________________________________________________________________________

	[[alternative HTML version deleted]]

