[R] HELP me please with import of csv to R
R. Michael Weylandt
michael.weylandt at gmail.com
Wed Jul 11 05:18:27 CEST 2012
On Tue, Jul 10, 2012 at 4:23 PM, FJ M <chicagobrownblue at 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
More information about the R-help
mailing list