Re: [R] Unexpected interference between dplyr and plm

2016-11-29 Thread David Winsemius
> On Nov 29, 2016, at 4:09 PM, David Winsemius wrote: > > >> On Nov 29, 2016, at 11:26 AM, Hadley Wickham wrote: >> >> On Tue, Nov 29, 2016 at 11:52 AM, William Dunlap wrote: The other option would be to load dplyr first

Re: [R] Unexpected interference between dplyr and plm

2016-11-29 Thread David Winsemius
> On Nov 29, 2016, at 11:26 AM, Hadley Wickham wrote: > > On Tue, Nov 29, 2016 at 11:52 AM, William Dunlap 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

Re: [R] Unexpected interference between dplyr and plm

2016-11-29 Thread Sarah Goslee
On Tue, Nov 29, 2016 at 12:39 PM, David Winsemius 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

Re: [R] Unexpected interference between dplyr and plm

2016-11-29 Thread Hadley Wickham
On Tue, Nov 29, 2016 at 11:52 AM, William Dunlap 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

Re: [R] Unexpected interference between dplyr and plm

2016-11-29 Thread William Dunlap via R-help
>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

Re: [R] Unexpected interference between dplyr and plm

2016-11-29 Thread David Winsemius
> On Nov 29, 2016, at 6:52 AM, Sarah Goslee wrote: > > Hi, > > It shouldn't be entirely unexpected: when I load dplyr, I get a series > of messages telling me that certain functions are masked. > > > The following object is masked from ‘package:plm’: > >between >

Re: [R] Unexpected interference between dplyr and plm

2016-11-29 Thread Sarah Goslee
Hi, It shouldn't be entirely unexpected: when I load dplyr, I get a series of messages telling me that certain functions are masked. The following object is masked from ‘package:plm’: between The following objects are masked from ‘package:stats’: filter, lag The following objects

[R] Unexpected interference between dplyr and plm

2016-11-29 Thread Constantin Weiser
Hello, I'm struggling with an unexpected interference between the two packages dplyr and plm, or to be more concrete with the "lag(x, ...)" function of both packages. If dplyr is in the namespace the plm function uses no longer the appropriate lag()-function which accounts for the panel