[R] Unexpected interference between dplyr and plm

David Winsemius dwinsemius at comcast.net
Wed Nov 30 01:19:38 CET 2016


> On Nov 29, 2016, at 4:09 PM, David Winsemius <dwinsemius at comcast.net> wrote:
> 
> 
>> 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?

Sorry. Meant to ask explicitly whether the plm maintainer could do that for plm users. Seems clear that dplyr is holding its ground.
> 
> 
>> 
>> Hadley
>> 
>> -- 
>> http://hadley.nz
> 
> David Winsemius
> Alameda, CA, USA
> 
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

David Winsemius
Alameda, CA, USA



More information about the R-help mailing list