[Rd] R on Windows crashes when using certain characters in strings in data frames (PR#14125)

Karl Ove Hufthammer karl at huftis.org
Fri Dec 11 12:36:11 CET 2009


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.

-- 
Karl Ove Hufthammer



More information about the R-devel mailing list