[R] attach

Christophe Dutang dutangc at gmail.com
Wed Oct 14 07:21:18 CEST 2009

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

Is there a second allocation of memory for inputdata?

Then I'm using eval on a expression which depends on the columns of  
inputdata. Is it better not to use attach function?

Thanks in advance


Christophe Dutang
Ph.D. student at ISFA, Lyon, France
website: http://dutangc.free.fr

More information about the R-help mailing list