search for: rstrwid

Displaying 4 results from an estimated 4 matches for "rstrwid".

Did you mean: rstrip
2007 Apr 17
2
format() applied to an NA character string (PR#9616)
I get strange results when I try to format() an NA character string. > x <- 'sometext' > x[1] <- NA > format(NA, width=32) # displays sensibly, right-justified > format(x,width=32) # displays sensibly, left-justified > format(x,width=33) # displays "" > format(x,width=36) # R exits abnormally with code 5 > version platform i386-pc-mingw32
2007 Dec 07
0
Bug#454678: r-base-core: Crash when calling edit.matrix with edit.row.names = TRUE when there are no rownames (PR#10500)
...irm that it crashes 2.6.0 and 2.6.1. I also spent the last little while building a (non-stripped) debug version that reveals: (gdb) where #0 0xb7b2ef2c in __gconv_transform_utf8_internal () from /lib/i686/cmov/libc.so.6 #1 0xb7b89f75 in mbrtowc () from /lib/i686/cmov/libc.so.6 #2 0xb7db05e3 in Rstrwid (str=0x8052010 "\020!\005\b\002", slen=134595712, quote=0) at printutils.c:284 #3 0xb7db0888 in Rstrlen (s=0x8051ff8, quote=0) at printutils.c:377 #4 0xb7d2de24 in Rf_formatString (x=0x873bbb8, n=1, fieldwidth=0xbfd0fc04, quote=0) at format.c:62 #5 0xb7db12b5 in Rf_EncodeElemen...
2007 Dec 07
0
(PR#10500) Bug#454678: r-base-core: Crash when calling
...2.6.1. I also spent the last little > while building a (non-stripped) debug version that reveals: > > (gdb) where > #0 0xb7b2ef2c in __gconv_transform_utf8_internal () from /lib/i686/cmov/libc.so.6 > #1 0xb7b89f75 in mbrtowc () from /lib/i686/cmov/libc.so.6 > #2 0xb7db05e3 in Rstrwid (str=0x8052010 "\020!\005\b\002", slen=134595712, > quote=0) at printutils.c:284 > #3 0xb7db0888 in Rstrlen (s=0x8051ff8, quote=0) at printutils.c:377 > #4 0xb7d2de24 in Rf_formatString (x=0x873bbb8, n=1, fieldwidth=0xbfd0fc04, > quote=0) at format.c:62 > #5 0xb7db...
2012 Mar 13
0
111 FIXMEs in main/src
...chanism for "rendering" symbols. */ print.c-/* It should make sure that it quotes when there are special */ -- print.c: /* FIXME: check (ns <= R_print.max +1) ? ns : R_print.max; */ print.c- for (i = 0; i < ns; i++) { -- printutils.c:/* <FIXME> printutils.c- encodeString and Rstrwid assume that the wchar_t representation -- saveload.c: /* FIXME: rather than use strlen, use actual length of string when saveload.c- * sized strings get implemented in R's save/load code. */ -- saveload.c: /* FIXME : Ultimately we need to replace */ saveload.c- /* this with a real...