Displaying 1 result from an estimated 1 matches for "a0or".
Did you mean:
a0'r
2009 Apr 25
0
incorrect output and segfaults from sprintf with %*d (PR#13675)
...q%s', 1)
> =A0 =A0# Error in sprintf("%q%s", 1) :
> =A0 =A0# =A0use format %f, %e, %g or %a for numeric objects
>
> =A0 =A0sprintf('%s', 1)
> =A0 =A0# [1] "1"
>
> you may want to add '%s' (and '%x', and ...) to the error message. =A0or
> perhaps make it say sth like 'invalid format: ...'. =A0the problem is not
> that %q is not applicable to numeric, but that it is not a valid format
> at all.
yes. As a matter of fact, "%q%s" is dealt with as *one* format
chunk, since "%q" is
not a valid for...