Christophe Dutang1 wrote:
> 
> 
> I would like to know what happens on the memory side when I use
> attach(inputdata)
> 
> Is there a second allocation of memory for inputdata?
> 

Not, it just guides the syntax.


Christophe Dutang1 wrote:
> 
> Is it better not to use attach function?
> 

A qualified "yes" in the sense of  "do not use it". I think it is used to
much in old documentation, presumably because some S eggshells.

I use with() if I have a nasty formula to unclutter; it acts locally only
and you don't get unwanted side effects.

Dieter


-- 
View this message in context: 
http://www.nabble.com/attach-tp25885494p25886141.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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