See packages R.oo and proto.
If you wish to do it yourself, you want to utilize environments for this.
/Henrik
On Thu, Jul 8, 2010 at 6:52 AM, Paul Bailey pdbai...@umd.edu wrote:
I'm working with a large object that I want to modify slightly in a function.
Pass-by-reference would make a lot
...and for tracing memory allocations/duplications, see tracemem().
/Henrik
On Thu, Jul 8, 2010 at 9:14 AM, Henrik Bengtsson h...@stat.berkeley.edu wrote:
See packages R.oo and proto.
If you wish to do it yourself, you want to utilize environments for this.
/Henrik
On Thu, Jul 8, 2010 at
On Thu, Jul 8, 2010 at 12:52 AM, Paul Bailey pdbai...@umd.edu wrote:
I'm working with a large object that I want to modify slightly in a function.
Pass-by-reference would make a lot of sense, but I don't know how to do it.
I've searched this archive and thought that I can do something like