
i
i
“K23166” — 2015/1/28 — 9:35 — page 231 — #257
i
i
i
i
i
i
A.6. ADD-ONS: PACKAGES 231
> find("mean")
[1] "package:base"
As an example where this might be useful, there are functions in the base and Hmisc
packages called units(). The find command would display both (in the order which they
would be accessed).
> library(Hmisc)
> find("units")
[1] "package:Hmisc" "package:base"
When the Hmisc package is loaded, the units() function from the base package is masked
and would not be used by default. To specify that the version of the function from the
base package should be used, prefix the function with the package name followed by two
colons: base::units(). The