Displaying 1 result from an estimated 1 matches for "938307".
Did you mean:
932307
2014 Mar 17
1
Deep copy of factor levels?
Hi
It seems that selecting an element of a factor will copy its levels
(Ubuntu 13.04, R 3.0.2). Below is the output of a script that creates a
factor with 10000 elements and then calls as.list() on it. The new
object seems to use more than 700 MB, and inspection of the levels of
the individual elements of the list suggest that they are distinct objects.
Perhaps some performance gain could