Re: [Rd] Shallow copies

2014-10-01 Thread Simon Urbanek
On Sep 30, 2014, at 5:20 PM, Matthieu Gomez wrote: > > I have a question about shallow copies in R. Since R 3.1.0, subsetting a > dataframe with respect to its columns no longer result in deep copies. This > is an amazing change in my opinion. Now, subsetting a data.frame by rows (or > subsett

Re: [Rd] Shallow copies

2014-09-30 Thread Henrik Bengtsson
On Tue, Sep 30, 2014 at 2:20 PM, Matthieu Gomez wrote: > I have a question about shallow copies in R. Since R 3.1.0, subsetting > a dataframe with respect to its columns no longer result in deep > copies. This is an amazing change in my opinion. Now, subsetting a > data.frame by rows (or subsettin

[Rd] Shallow copies

2014-09-30 Thread Matthieu Gomez
I have a question about shallow copies in R. Since R 3.1.0, subsetting a dataframe with respect to its columns no longer result in deep copies. This is an amazing change in my opinion. Now, subsetting a data.frame by rows (or subsetting a matrix by columns or rows) still does deep copies. In partic