[Rd] Pb building sets of S4 / RefClass objects with package "sets"

Martin Maechler maechler at stat.math.ethz.ch
Sat Oct 8 20:12:51 CEST 2011


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?



More information about the R-devel mailing list