[Rd] as.numeric(levels(factor(x))) may be a decreasing sequence

Wacek Kusnierczyk Waclaw.Marcin.Kusnierczyk at idi.ntnu.no
Sat May 30 00:28:35 CEST 2009

Martin Maechler wrote:
> Hi Waclav (and other interested parties),
> I have committed my working version of src/main/coerce.c
> so you can prepare your patch against that.

Hi Martin,

One quick reaction (which does not resolve my original complaint):  you
can have p non-const, and cast s to char* on the first occasion its
value is assigned to p, thus being able to copy from p to replace
without repetitive casts.  make check-ed patch atatched.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dropTrailing.patch
Type: text/x-diff
Size: 593 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-devel/attachments/20090530/f6b8cc02/attachment.bin>

More information about the R-devel mailing list