Dear useRs & experRts,
I have the feeling that the 'name' argument to the attach function is
ignored when 'what' is a file name. Here is an example:
> save(letters, file="letters.RData")
> letters.env <- attach("letters.RData", name="letters")
> search()
> letters.env
The name on the search path
I found the following message maybe help. And I will try it.
Hi there,
I have just found that the ``attach'' function
can get you into trouble when called many times.
For example, you have a simulation routine called ``f()'',
in which you used ``attach'' and no corresponding ``detach''.
Then y
On Wed, 2009-10-14 at 07:21 +0200, Christophe Dutang wrote:
> Hi all,
>
> I have a question regarding the memory usage for the attach function.
> Say I have a data.frame inputdat that I create with read.csv.
>
> I would like to know what happens on the memory side when I use
> attach(inputdata)
Dieter Menne wrote:
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.
Wrong. There's a virtual copy of data plus a conversion from data frame
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 qua
Hi all,
I have a question regarding the memory usage for the attach function.
Say I have a data.frame inputdat that I create with read.csv.
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?
Then I'm using
On 8/26/2009 8:17 AM, Jeremy MAZET wrote:
Hello,
Is there a solution to attach a package without run the hook function
.onAttach()
You could modify the source code to remove the hook, but why you'd want
to do this, I don't know. Presumably the author of the package had a
reason to put the
Hello,
Is there a solution to attach a package without run the hook function
.onAttach()
Thanks
Jérémy Mazet
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do rea
8 matches
Mail list logo