[Rd] problem with eval(..., parent.frame(1L)) when package is not loaded
Duncan Murdoch
murdoch.duncan at gmail.com
Fri Jun 28 19:56:26 CEST 2013
On 28/06/2013 12:42 PM, Ben Bolker wrote:
> Duncan Murdoch <murdoch.duncan <at> gmail.com> writes:
>
> >
>
> [snip]
> >
> > The other choice is to use the explicit ::, i.e.
> >
> > mc[[1]] <- quote(lmer::lFormula)
> >
> > This would be the solution I'd prefer, but you seem to have some
> > prejudice against :: .
> >
>
> I just thought that the whole point of using the machinery of
> namespaces, environments, etc., was that we shouldn't need to
> tell R explicitly what environment we were working in ...
And usually it works, just not always when you do surgery on
expressions. The snipped version worked, for instance.
Duncan Murdoch
More information about the R-devel
mailing list