[Rd] c.POSIXct

Spencer Graves spencer.graves at structuremonitoring.com
Thu Aug 19 18:15:46 CEST 2010


  Hi, Gabor, et al.:


       I'm suggesting adding "checkAttributes" to "ca", NOT to "c".


       Spencer


On 8/19/2010 8:50 AM, Gabor Grothendieck wrote:
> On Thu, Aug 19, 2010 at 11:43 AM, Spencer Graves
> <spencer.graves at structuremonitoring.com>  wrote:
>>   Hi, Gabor, Paul, et al.:
>>
>>
>>       For classes that did not supply a "ca" method, I'd rather see the
>> default being to start with the corresponding  "c" method followed by an
>> effort to preserve attributes to the maximum extent feasible.  I'm not sure
>> the best defaults, but at the moment, I would expect that attributes like
>> "dim" and "dimnames" should always be dropped.  The current default "c"
>> method preserves "names" appropriately.
>>
>>
>>       What do you think about including another argument to
>> "checkAttributes"?  I'm not sure what the options should be nor what should
>> be the default, but one option should throw and error if any contradiction
>> was found while another would take all attributes from the first argument
>> and ignore others.
>>
>>
> I think ca is easier to use.  It would work consistently and simply
> across classes whereas fixing up c with checkAttribues is harder to
> use.
>


-- 
Spencer Graves, PE, PhD
President and Chief Operating Officer
Structure Inspection and Monitoring, Inc.
751 Emerson Ct.
San José, CA 95126
ph:  408-655-4567



More information about the R-devel mailing list