Re: [Rd] S4 class, passing argument names to function, modify original

2011-06-04 Thread soeren . vogel
On 04.06.2011, at 15:41, Martin Morgan wrote: > On 06/04/2011 03:07 AM, soeren.vo...@uzh.ch wrote: > >> Hello, an S4 class "Foo" is defined with a setter, $. For several reasons, >> the setter calls a function, .foo.update(). However, bypassing the argument >> names of the setter does not work.

Re: [Rd] S4 class, passing argument names to function, modify original

2011-06-04 Thread Martin Morgan
On 06/04/2011 03:07 AM, soeren.vo...@uzh.ch wrote: Hello, an S4 class "Foo" is defined with a setter, $. For several reasons, the setter calls a function, .foo.update(). However, bypassing the argument names of the setter does not work. Question 1: Why not and how can I fix this? Question 2: Wh

[Rd] S4 class, passing argument names to function, modify original

2011-06-04 Thread soeren . vogel
Hello, an S4 class "Foo" is defined with a setter, $. For several reasons, the setter calls a function, .foo.update(). However, bypassing the argument names of the setter does not work. Question 1: Why not and how can I fix this? Question 2: What is the way to define either the function or the s