Closed HenrikBengtsson closed 8 years ago
Add support for tab completion of Object field names, e.g.
.DollarNames.Object <- function(x, pattern="") { utils:::findMatches(pattern, names(x)) }
However, findMatches() is not exported from utils. The alternative is to use grep(..., value=TRUE) but alone it causes entered text to be clear if there's no match.
findMatches()
grep(..., value=TRUE)
Made a wish to make utils:::findMatches() a public function, cf. https://stat.ethz.ch/pipermail/r-devel/2016-September/073054.html
utils:::findMatches()
Add support for tab completion of Object field names, e.g.
However,
findMatches()
is not exported from utils. The alternative is to usegrep(..., value=TRUE)
but alone it causes entered text to be clear if there's no match.