In that case, you would want a shallow copy, and you'd need to jump through a lot of hoops to do that in R.
Hadley On Sun, Apr 26, 2009 at 10:35 AM, David Winsemius <dwinsem...@comcast.net> wrote: > My understanding of the OP's request was for some sort of copy which did > change when entries in the original were changed; the sort of behavior that > might be seen in a spreadsheet that had a copy "by reference". > > On Apr 26, 2009, at 11:28 AM, 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. >> >> Hadley > > -- > > David Winsemius, MD > Heritage Laboratories > West Hartford, CT > > -- http://had.co.nz/ ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.