From hpages at fhcrc.org  Tue Nov 13 09:36:25 2007
From: hpages at fhcrc.org (hpages at fhcrc.org)
Date: Tue, 13 Nov 2007 00:36:25 -0800
Subject: [Rd] slots of type "double"
Message-ID: <1194942985.4739620919f16@webmail.fhcrc.org>

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: a (class ?double? )

"numeric", "integer", "character", "complex", "raw", etc... they all work
but "double" doesn't. Any reason for this strange exception?

Thanks!
H.



[Rd] slots of type "double"
hpages at fhcrc.org