Message-ID: <25886141.post@talk.nabble.com>
Date: 2009-10-14T06:40:45Z
From: Dieter Menne
Subject: attach
In-Reply-To: <66E962EE-AF1E-494F-B0ED-8382F1E5F060@gmail.com>
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.