> I'd personally prefer that if there is such functionality, it is disabled by
> default, since we tend to like to hide new(). Since overriding initialize is
> problematic, using new() would expose the slots, which are normally
> considered implementation details. Others may differ.
Ah ok, so slot
I'd personally prefer that if there is such functionality, it is disabled
by default, since we tend to like to hide new(). Since overriding
initialize is problematic, using new() would expose the slots, which are
normally considered implementation details. Others may differ.
Michael
On Wed, Sep 1
Or should that just come from documenting the constructor and class in
the same file?
Hadley
On Wed, Sep 12, 2012 at 7:44 PM, Hadley Wickham wrote:
> Hi all,
>
> Do you think it makes sense to add usage statement to S4 classes? i.e.
>
> new("MyClass", a, b, c, d = 1)
>
> where a, b, c, d are tak
Hi all,
Do you think it makes sense to add usage statement to S4 classes? i.e.
new("MyClass", a, b, c, d = 1)
where a, b, c, d are taken from the representation and prototype.
Hadley
--
RStudio / Rice University
http://had.co.nz/
___
Roxygen-devel m