There is an easy workaround for your problem without worrying about protecting variable names (although playing with lockBinding really looks fun). If the function is masked, as in your example, you can still call the mask version using the :: operator.
In general, the syntax is packagename::variablename .
(If the function you want was not exported from the package, then you need three colons, ::: . However, this should not be applied in this case.)
Richie cotton
source share