Johnny Paulo
2011-Oct-07 17:01 UTC
[Rd] Pb building sets of S4 / RefClass objects with package "sets"
Hi, does anyone know if it is possible to construct sets of S4 objects? It seems the constructor set does not like it: Error in as.vector(x, "character") : cannot coerce type 'environment' to vector of type 'character' Regards Johnny PS: by the way, does anyone know where I can find some examples using the cset class from the "sets" package, beside the one in the standard doc? [[alternative HTML version deleted]]
Martin Maechler
2011-Oct-08 18:12 UTC
[Rd] Pb building sets of S4 / RefClass objects with package "sets"
There is no visible reason why you should ask this on R-devel. Please do not misuse R-deve, but rather use R-help.>>>>> "JP" == Johnny Paulo <johnny.jp.22 at gmail.com> >>>>> on Fri, 7 Oct 2011 18:01:56 +0100 writes:> Hi, does anyone know if it is possible to construct sets > of S4 objects? It seems the constructor set does not > like it: > Error in as.vector(x, "character") : cannot coerce type > 'environment' to vector of type 'character' > Regards > Johnny > PS: by the way, does anyone know where I can find some > examples using the cset class from the "sets" package, > beside the one in the standard doc?