Re: [Rd] incorrect output and segfaults from sprintf with %*d (PR#13667)

2009-04-27 Thread Waclaw . Marcin . Kusnierczyk
Martin Maechler wrote: > > vQ> sptinf('%q%s', 1) > > > vQ> still suggests that one uses %{f,e,g,a} for numerics, > vQ> while %s is pretty much valid, too. you see, in c > vQ> sprintf(buffer, "%s", 1) is destined to cause a > vQ> segfault, but in r it works -- so the error m

Re: [Rd] incorrect output and segfaults from sprintf with %*d (PR#13667)

2009-04-25 Thread Waclaw . Marcin . Kusnierczyk
Martin Maechler wrote: > >>> MM> well, it is basically (+ a few bytes ?) >>> MM> the same 8192 limit that *is* documented. >>> >>> indeed, I was right with that.. >>> >>> >> hmm, i'd guess this limit is valid for all strings included in the >> output with any format? not just %s (

Re: [Rd] incorrect output and segfaults from sprintf with %*d (PR#13667)

2009-04-23 Thread Waclaw . Marcin . Kusnierczyk
Martin Maechler wrote: >> "vQ" == Wacek Kusnierczyk >> on Thu, 23 Apr 2009 11:49:54 +0200 writes: >> > > vQ> maech...@stat.math.ethz.ch wrote: > >> > vQ> sprintf has a documented limit on strings included in the output > using the > vQ> format '%s'.

Re: [Rd] actual argument matching does not conform to the definition (PR#13636)

2009-04-02 Thread Waclaw . Marcin . Kusnierczyk
Thomas Lumley wrote: > > The explanation is that quote() is a primitive function and that the > argument matching rules do not apply to primitives. That section of > the R Language definition should say that primitives are excluded; it > is documented in ?.Primitive. thanks. indeed, the documen

Re: [Rd] if does not covert raw to logical (PR#13630)

2009-03-30 Thread Waclaw . Marcin . Kusnierczyk
Martin Maechler wrote: > Thank you, Wacek, > happy to serve. (...) > indeed, it was pretty straightforward hard to implement the missing case in > asLogical(.) and I will commit my patch to the sources tomorrow > {being busy otherwise for the rest of today}. > thanks! > Note that the raw