Dear all,
I've just discovered the 'Reference Classes'.
In a previous attempt ---a year ago--- to re-implement in a Object Oriented
fashion the AMORE package using S4 classes I strongly felt the need of such
capability. It's great to have the Reference Classes now available. Along
with the discovery of the Rcpp package, this new programming paradigm has
boosted my interest in rewriting that package.
Nevertheless, I have found a surprising behavior in the $copy(shallow=FALSE)
method. Let's have a look at the results which I believe are
self-explanatories. The ".Data" field is a list which contains objects from
the "Con" class ?---connections for what is worth---.