[Rd] Suggestion: Clarification in Rd for utils::getAnywhere()

Henrik Bengtsson hb at stat.berkeley.edu
Fri Nov 20 10:24:09 CET 2009


In order to clarify that getAnywhere(str) where str is a character
string object, will look for object with name "str" and not the value
of 'str', I suggest the following Rd updated for utils::getAnywhere():

Update the argument list:

\item{x}{a [literal] character string or name.}

The term 'literal character string' is used in library().

Add to the example code:

str <- "format.dist"
do.call("getAnywhere", list(str))

Alternatively, getAnywhere() should gain an argument 'character.only'
as in library().

/Henrik



More information about the R-devel mailing list