Hi,
Any idea why S4 doesn't allow slots of type "double"?
> setClass("A", representation(a="double"))
Error in makePrototypeFromClassDef(properties, ClassDef, immediate, where) :
in making the prototype for class "A" elements of the prototype failed to
match the corresponding slot class:
On Nov 13, 2007, at 3:36 AM, [EMAIL PROTECTED] wrote:
> Any idea why S4 doesn't allow slots of type "double"?
>
Type (as in storage type and "double" is a storage type) has nothing
to do with classes. You cannot create slots for types, only for classes.
>> setClass("A", representation(a="dou
On Tue, 13 Nov 2007, Simon Urbanek wrote:
>
> On Nov 13, 2007, at 3:36 AM, [EMAIL PROTECTED] wrote:
>
>> Any idea why S4 doesn't allow slots of type "double"?
>>
>
> Type (as in storage type and "double" is a storage type) has nothing
> to do with classes. You cannot create slots for types, only f
What's the proposal here? To eliminate "double" as a class? No
objection from this corner. As I remember, it was put in early in the
implementation of methods, when I was confused about what R intended in
this area (well, I'm not totally unconfused even now).
If this is the proposal, we coul
On Tue, 13 Nov 2007, John Chambers wrote:
> What's the proposal here? To eliminate "double" as a class? No objection
Eliminate "double" and "single".
> from this corner. As I remember, it was put in early in the implementation
> of methods, when I was confused about what R intended in this a
On Tue, 13 Nov 2007, Prof Brian Ripley wrote:
> On Tue, 13 Nov 2007, John Chambers wrote:
>
>> What's the proposal here? To eliminate "double" as a class? No objection
>
> Eliminate "double" and "single".
>
>> from this corner. As I remember, it was put in early in the
>> implementation of met
On Wed, November 14, 2007 09:09, Prof Brian Ripley wrote:
> On Tue, 13 Nov 2007, Prof Brian Ripley wrote:
>
>> On Tue, 13 Nov 2007, John Chambers wrote:
>>
>>> What's the proposal here? To eliminate "double" as a class? No
>>> objection
>>
>> Eliminate "double" and "single".
>>
>>> from this corn
still found a bit time for more remarks.
> "MM" == Martin Mächler <[EMAIL PROTECTED]>
> on Wed, 14 Nov 2007 14:23:12 +0100 (CET) writes:
MM> On Wed, November 14, 2007 09:09, Prof Brian Ripley
MM> wrote:
>> On Tue, 13 Nov 2007, Prof Brian Ripley wrote:
>>
>>> On Tu
In-line omments near the end:
On Wed, 14 Nov 2007, Martin Maechler wrote:
still found a bit time for more remarks.
"MM" == Martin Mächler <[EMAIL PROTECTED]>
on Wed, 14 Nov 2007 14:23:12 +0100 (CET) writes:
MM> On Wed, November 14, 2007 09:09, Prof Brian Ripley
MM> wrote:
>> On