[R] Completion for custom "$" operator?

Deepayan Sarkar deepayan.sarkar at gmail.com
Tue Aug 4 22:02:48 CEST 2009


On Tue, Aug 4, 2009 at 11:37 AM, Vitalie S.<vitosmail at rambler.ru> wrote:
> Dear UseRs,
>
> I declared a `$` method for a S4 class. Can I have ab automatic completion
> for this operator in R? Lists and environment objects provide this feature
> by default, but my object is an extension of "function" class which does not
> have subseting defined. How to be?

Completion should be automatic if you define names() to return the valid names.

-Deepayan




More information about the R-help mailing list