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

From: Henrik Bengtsson <hb_at_stat.berkeley.edu>
Date: Fri, 20 Nov 2009 10:24:09 +0100


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_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri 20 Nov 2009 - 09:29:26 GMT

This archive was generated by hypermail 2.2.0 : Fri 20 Nov 2009 - 09:30:31 GMT