Displaying 1 result from an estimated 1 matches for "056570a0".
Did you mean:
05.657010
2010 Oct 23
1
Plans for tighter integration of reference classes in R.
...quot;loosing the class"?
Parenthetically, the attributes of an object (including S3 classes) are not lost:
> env <- structure(new.env(), a1 = "fdsf", class = "old_class")
> tf <- function(x)x
> environment(tf) <- env
> environment(tf)
<environment: 056570a0>
attr(,"a1")
[1] "fdsf"
attr(,"class")
[1] "old_class"
> class(environment(tf))
[1] "old_class"
>
Thanks,
Vitalie.