Displaying 1 result from an estimated 1 matches for "r_stringbuffer".
2009 Mar 18
1
sprintf("%d", integer(0)) aborts
...tware Inc - Spotfire Division
wdunlap tibco.com
-------------------------------------------------------------------
Index: sprintf.c
===================================================================
--- sprintf.c (revision 48148)
+++ sprintf.c (working copy)
@@ -79,13 +79,13 @@
static R_StringBuffer outbuff = {NULL, 0, MAXELTSIZE};
Rboolean use_UTF8;
- outputString = R_AllocStringBuffer(0, &outbuff);
-
/* grab the format string */
nargs = length(args);
format = CAR(args);
- if (!isString(format) || length(format) == 0)
+ if (!isString(format))
error(_(...