Displaying 1 result from an estimated 1 matches for "thedatavec".
2001 Oct 02
2
Avoiding deep copies
...nager doesnt do it for me :) )
I was considering writing code in R that would need
the internal representation of complex graph structures
where several nodes in the graph point to the same
huge array of data.
Now, obviously one cannot just do something like
attr(thenode,"mydatavec")<-thedatavec or
thenode$mydatavec<-thedatavec
since all the data in thedatavec will be copied
with this assignment.
Are there commonly accepted/used workarounds?
Johann
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~...