Well, once you begin messing with eval.parent(), you _are_ telling R what
environment to work in, and things have the potential to go wrong at that
point because you're telling R to work in environment you don't know
anything about. Having to be explicit with a :: is just compensating for an
earlier thing you "shouldn't need to" be doing with environments (in my
opinion.)


On Fri, Jun 28, 2013 at 9:42 AM, Ben Bolker <bbolker@gmail.com> 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 ...
>
> ______________________________________________
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

	[[alternative HTML version deleted]]

