[R] Disabling the auto-complete feature in named list indexing
Peter Dalgaard
p.dalgaard at biostat.ku.dk
Thu Oct 23 01:23:19 CEST 2008
Pradheep K E wrote:
> Is there any way to disable the auto-complete feature when we index a named
> list?
> E.g: a <- list ('longname'=1, 'anothername'=2)
> a$l will return 1 and a$a will return 2
> the '[[' operator behaves in the same way, the '[' operator does not do
> autocomplete.
>
> Is there any way to disable autocomplete for all the operators?
No. Too many "surprises" if you do that (notice that it would affect
everybody elses code along with yours). There's an exact= argument to
[[, though (see ?"[[").
--
O__ ---- Peter Dalgaard Øster Farimagsgade 5, Entr.B
c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
More information about the R-help
mailing list