[ESS] S4 class declaration support in ESS roxygen
Henning Redestig
henning.red at googlemail.com
Mon Oct 4 22:58:40 CEST 2010
2010/10/4 Vinh Nguyen <vinhdizzo at gmail.com>:
> Hi Henning,
>
> I hope you don't mind me contacting you directly. I believe you are
> the author and maintainer of the roxygen piece in ESS. First, thanks
> for the contribution -- it's made my life easier as I learn to use
> roxygen and creating R packages. C-c C-o seems to not generate a
> template for an S4 class declaration, eg,
>
> setClass(Class="inference", representation=representation(model="character"
> , sample.size="numeric"
> , robust.se="logical"
> , two.sided="logical"
> , ci.level="numeric")
> , contains=c("matrix"))
>
> Do you plan to implement this? Am I doing something wrong? This
> would be most helpful. Thanks!
> -- Vinh
>
Right, ess-roxy depends on the ess-function-pattern which only detects
functions. Extending it to also handle setClass would be nice but it
somehow fell out of scope. I will keep this in mind and try to
implement it some rainy day.
Feel free to submit a patch :)
cheers,
--
/Henning Redestig
Metabolome Informatics Unit | Yokohama RIKEN Plant Science Center
More information about the ESS-help
mailing list