[R] How do you save in R?

ronggui ronggui.huang at gmail.com
Mon May 18 11:19:38 CEST 2009


I would second Dieter's point.

2009/5/18 Dieter Menne <dieter.menne at menne-biomed.de>:
> Patrick Burns <pburns <at> pburns.seanet.com> writes:
>
>>
>> I disagree with Dieter's last point.
>> Whether you use 'attach' or 'load'
>> should depend on whether you want the
>> objects in the file to remain separate
>> ('attach') or mixed into the global
>> environment ('load').
>
>
> Technically a good point, but I found it helpful for starters who want to
> avoid the inferno of "what's attached now?" not to use it at all.
> My suggestion is to use with() instead because it has a higher locality.
>
> I know, many of the examples use attach.
>
> Dieter
>
> ______________________________________________
> R-help at 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.
>



-- 
HUANG Ronggui, Wincent
PhD Candidate
Dept of Public and Social Administration
City University of Hong Kong
Home page: http://asrr.r-forge.r-project.org/rghuang.html




More information about the R-help mailing list