[R] Completion for custom "$" operator?

Deepayan Sarkar deepayan.sarkar at gmail.com
Thu Aug 6 20:26:48 CEST 2009

On Thu, Aug 6, 2009 at 10:45 AM, Vitalie S.<vitosmail at rambler.ru> wrote:
>> Completion should be automatic if you define names() to return the valid
>> names.
> Thank you Deepayan, that works beautifully. I wonder though; names function
> for environment objects always returns NULL, but completion still works.
> Looks tricky.

There's a special case coded-in for environments, where one needs to
use ls() [See utils:::specialCompletions].


More information about the R-help mailing list