Displaying 1 result from an estimated 1 matches for "r41210".
Did you mean:
r1210
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