On Tue, Jul 10, 2012 at 4:23 PM, FJ M <chicagobrownb...@hotmail.com> wrote:

> 3) attach the data so that the headers become objects that contain the data
> attach(v_data)

This is a discouraged practice as it leads to difficult to trace
errors and non-local effects. Some "big names" of the R universe
suggest it [I think V of V&R mentioned it in Nashville] but others are
just as strongly against, particularly for beginners.

Beter is to make use of formula= and data= arguments when available,
and with/within elsewise.

Best,
Michael

______________________________________________
R-help@r-project.org mailing list
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.

Reply via email to