From maechler at stat.math.ethz.ch  Sat Oct  8 20:12:51 2011
From: maechler at stat.math.ethz.ch (Martin Maechler)
Date: Sat, 8 Oct 2011 20:12:51 +0200
Subject: [Rd] Pb building sets of S4 / RefClass objects with package
	"sets"
In-Reply-To: <CAJi8Hmaof0i11oYdNFeH6qxMAHpE-UgWZTCdCg-XMKRusxqM-w@mail.gmail.com>
References: <CAJi8Hmaof0i11oYdNFeH6qxMAHpE-UgWZTCdCg-XMKRusxqM-w@mail.gmail.com>
Message-ID: <20112.37539.445308.67506@stat.math.ethz.ch>

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?



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