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
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 (
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'.
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
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