On Fri, Sep 18, 2009 at 8:11 PM, Don MacQueen <m...@llnl.gov> wrote: > I wouldn't assume R is making a copy; it depends on what you're doing with > the dataframe.
Indeed ... I thought R had copy-on-write semantics for function arguments, no? If so, then if your function doesn't change the elements in the matrix/data.frame, then you shouldn't have to worry, and look to optimize elsewhere ... -steve -- Steve Lianoglou Graduate Student: Computational Systems Biology | Memorial Sloan-Kettering Cancer Center | Weill Medical College of Cornell University Contact Info: http://cbio.mskcc.org/~lianos/contact ______________________________________________ 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.