Re: [Rd] Doing the right amount of copy for large data frames.

2008-04-15 Thread Prof Brian Ripley
On Mon, 14 Apr 2008, Gopi Goswami wrote: > Dear All, > > > Thanks a lot for your helpful comments (e.g., NAMED, ExpressionSet, > DNAStringSet). > > > Observations and questions :: > > ooo For a data.frame dd and a list ll with same contents to being with, > the following operations show signific

Re: [Rd] Doing the right amount of copy for large data frames.

2008-04-14 Thread Martin Morgan
Hi Gopi "Gopi Goswami" <[EMAIL PROTECTED]> writes: > Hi there, > > > Problem :: > When one tries to change one or some of the columns of a data.frame, R makes > a copy of the whole data.frame using the '*tmp*' mechanism (this does not > happen for components of a list, tracemem( ) on R-2.6.2 says

Re: [Rd] Doing the right amount of copy for large data frames.

2008-04-14 Thread Tony Plate
Gopi Goswami wrote: > Hi there, > > > Problem :: > When one tries to change one or some of the columns of a data.frame, R makes > a copy of the whole data.frame using the '*tmp*' mechanism (this does not > happen for components of a list, tracemem( ) on R-2.6.2 says so). > > > Suggested solution ::

Re: [Rd] Doing the right amount of copy for large data frames.

2008-04-14 Thread Peter Dalgaard
Gopi Goswami wrote: > Hi there, > > > Problem :: > When one tries to change one or some of the columns of a data.frame, R makes > a copy of the whole data.frame using the '*tmp*' mechanism (this does not > happen for components of a list, tracemem( ) on R-2.6.2 says so). > > > Suggested solution ::