Re: [R] S4-classes: Assignment of values to slots by reference

2013-03-01 Thread Martin Morgan
On 03/01/2013 06:13 AM, Simon Zehnder wrote: Dear R-users, I am working on a project that uses S4-classes. At some point I encountered the problem - well known to R - that I have to pass 3 different objects to a function, that should modify several slots of them and of course there is no pass

[R] S4-classes: Assignment of values to slots by reference

2013-03-01 Thread Simon Zehnder
Dear R-users, I am working on a project that uses S4-classes. At some point I encountered the problem - well known to R - that I have to pass 3 different objects to a function, that should modify several slots of them and of course there is no passing by reference in R. Then I read this threa