[R] Unexpected interference between dplyr and plm

David Winsemius dwinsemius at comcast.net
Wed Nov 30 01:09:47 CET 2016


> On Nov 29, 2016, at 11:26 AM, Hadley Wickham <hadley at rstudio.com> wrote:
> 
> On Tue, Nov 29, 2016 at 11:52 AM, William Dunlap <wdunlap at tibco.com> wrote:
>>> The other option would be to load dplyr first (which would give the waring
>>> that >stats::lag was masked) and then later load plm (which should give a
>>> further >warning that dplyr::lag is masked). Then the plm::lag function will
>>> be found
>>> first.
>> 
>> Another option is to write the package maintainers and complain
>> that masking core functions is painful for users.
> 
> Don't worry; many people have done that.

Is it possible that the maintainer could add an explicit importation of  the lag function from pkg:stats?


> 
> Hadley
> 
> -- 
> http://hadley.nz

David Winsemius
Alameda, CA, USA



More information about the R-help mailing list