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

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to