as.numeric(levels(factor(x))) may be a decreasing sequence
2009/5/30 Wacek Kusnierczyk <Waclaw.Marcin.Kusnierczyk at idi.ntnu.no>:
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.
yes, thank you, that's definitely more esthetically appealing (and as you said, does not solve your original complaint). (I'll wait a bit before further commits on this; notably I'll also want to commit a corresponding entry to PrtUtil.h) Martin