R on Windows crashes when using certain characters in strings in data frames (PR#14125)
On 11/12/2009 6:36 AM, Karl Ove Hufthammer wrote:
On Thu, 10 Dec 2009 10:20:09 +0100 (CET) karl at huftis.org <karl at huftis.org> wrote:
The following commands trigger the crash for me: n=1e5 k=10 x=sample(k,n,replace=TRUE) y=sample(k,n,replace=TRUE) xy=paste(x,y,sep=" ? ") z=sample(n) d=data.frame(xy,z)
Note: On the R Bug Tracking System Web site, the character causing the problem seems to be incorrectly displayed as a '.', though on the mailing list the correct character is used. The character should be the multiplication symbol, U+00D7, which looks similar to an 'x'. The character does exist in both ISO 8859-1 and Windows-1252.
Yes, I can reproduce this, and I know a likely cause. It will be fixed in R-devel soon, but I think it will probably be too late to make it into 2.10.1. It will go into 2.10.1 patched after release if that's the case. Duncan Murdoch