Henrik Bengtsson
2009-Nov-20 09:24 UTC
[Rd] Suggestion: Clarification in Rd for utils::getAnywhere()
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