As @Paul reports, when attaching (for example, via the library function) a package that you can get:
> library("gdata", lib.loc="C:/Program Files/R/R-2.15.3/library") gdata: read.xls support for 'XLS' (Excel 97-2004) files ENABLED. gdata: read.xls support for 'XLSX' (Excel 2007+) files ENABLED. Attaching package: 'gdata' The following object(s) are masked from 'package:stats': nobs The following object(s) are masked from 'package:utils': object.size
When you get โThe following objects are maskedโ means that calls to this function will be considered R as function calls in the new package, in my gdata example.
You can avoid this:
> nobs function (object, ...) UseMethod("nobs") <environment: namespace:gdata> > stats::nobs function (object, ...) UseMethod("nobs") <bytecode: 0x0000000008a92790> <environment: namespace:stats
hope that helps
source share