[Rd] no visible binding for global variable for data sets in a package

peter dalgaard pdalgd at gmail.com
Wed Aug 27 21:05:28 CEST 2014


On 27 Aug 2014, at 19:51 , Michael Friendly <friendly at yorku.ca> wrote:

> - Peter Dalgaard noted the change in R-devel, and nobody so far has suggested a working remedy, so a clean solution
> seems warranted. 

Actually, both Peter Dalgaard and Brian Ripley suggested Lahman:battingLabels, and, with the current semantics at least, it does seem to be recommendable to namespace-qualify any such datasets, lest you be a potential victim of variable masking.

(See also my reply to Hadley, once I get it finalized.)

-pd
-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



More information about the R-devel mailing list