Pradheep K E
2008-Oct-22 21:21 UTC
[R] Disabling the auto-complete feature in named list indexing
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? Thanks Pradheep [[alternative HTML version deleted]]
Peter Dalgaard
2008-Oct-22 23:23 UTC
[R] Disabling the auto-complete feature in named list indexing
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