Skip to content
Prev 311107 / 398506 Next

about lm

On Sat, Nov 17, 2012 at 4:56 PM, FJ M <chicagobrownblue at hotmail.com> wrote:
No -- it's not broken, but it is dangerous (or more properly,
confusing). It has non-local effects by creating a whole bunch of
variables in the search path all at once. Combine that with the fact
that those new variables can't be written to and an apparent
sub/re-assignment really only creates global-environment copies (also
somewhat magically) and you have a recipe for confusion.

It's of course actually very important to the workings of R -- it's
key to package loading, inter alia -- but in my alternate universe,
it'd be hidden away, or at least start with a dot so it looks scarier.

Michael