Displaying 1 result from an estimated 1 matches for "args_unevalu".
2020 May 22
1
R-devel's ...names() questions
....string R Under development (unstable) (2020-05-19 r78492)
nickname Unsuffered Consequences
The following seems to do the right thing
alt...names <- function() evalq(names(substitute(...())),
envir=parent.frame())
However I wonder if it would be better to give the user a function, say
...args_unevaluated(...) to get the unevaluated ... arguments directlly
without having to know about the substitute(...()) trick. Then the user
could get the length, the n'th, or the names using the usual length(), [[,
and names() functions instead of ...length(), ...elt(), and ...names().
Bill Dunlap
TIBCO...