On Thu, Aug 6, 2009 at 10:45 AM, Vitalie S.<vitosm...@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]. -Deepayan ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.