[Rd] c.POSIXct

Gabor Grothendieck ggrothendieck at gmail.com
Thu Aug 19 16:32:41 CEST 2010


On Thu, Aug 19, 2010 at 10:16 AM, Paul Gilbert
<pgilbert at bank-banque-canada.ca> wrote:
> I used to get caught by this c() behaviour often, but now I do expect it to drop attributes. I think it would break many things if you change it, and force people to write different code when they really do want to drop attributes. When you want new behaviour it is usually better to define a new function, ca() maybe?
>

That would work if ca defaulted to c for those classes that did not
supply a ca method.



More information about the R-devel mailing list