[R] 3 questions regarding matrix copy/shuffle/compares

Esmail esmail.js at gmail.com
Sun Apr 26 17:39:31 CEST 2009


hadley wickham wrote:
>>> I want to (1) create a deep copy of pop,
>> I have already said *I* do not know how to create a "deep copy" in R.
> 
> Creating a deep copy is easy, because all copies are "deep" copies.
> You need to try very hard to create a reference in R.

Hi Hadley

Right you are .. I discovered this now too. It's really confusing to
go back and forth between different languages. I have been programming
in Python for the last 2 months and everything there is a reference .. so
I have to worry about deep copy etc.

Thanks!
Esmail



More information about the R-help mailing list