Re: [Rd] Possible bug in 'new()' for Reference Classes

2011-12-07 Thread John Chambers
Right, thanks for the catch. Actually, field names "s", "se", "sel" would also produce the bug. Partial matching of argument names bites again. This should be fixed in r-devel and 2.14 patched, as of SVN rev. 57842. Do try to follow the API in the documentation and use generator objects fo

[Rd] Possible bug in 'new()' for Reference Classes

2011-12-07 Thread Janko Thyson
Dear list, I think I stumbled across a little bug with respect to the standard initialization routine for Reference Classes. It seems that a field 'self' is treated as if it's name would be '.self' (which we know is reserved for the self reference of the instantiated object itself) and thus