Skip to content
Back to formatted view

Raw Message

Message-ID: <4B22AAA9.1050205@stats.uwo.ca>
Date: 2009-12-11T20:25:13Z
From: Duncan Murdoch
Subject: R on Windows crashes when using certain characters in	strings in data frames (PR#14125)
In-Reply-To: <MPG.258c4d052bca143f9896c5@news.gmane.org>

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