[R] How do you save in R?

Dieter Menne dieter.menne at menne-biomed.de
Mon May 18 09:55:22 CEST 2009


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




More information about the R-help mailing list