From murdoch at stats.uwo.ca  Fri Dec 11 21:25:13 2009
From: murdoch at stats.uwo.ca (Duncan Murdoch)
Date: Fri, 11 Dec 2009 15:25:13 -0500
Subject: [Rd] R on Windows crashes when using certain characters
 in	strings in data frames (PR#14125)
In-Reply-To: <MPG.258c4d052bca143f9896c5@news.gmane.org>
References: <20091210092009.D1A7A282EFC8@mail.pubhealth.ku.dk>
	<MPG.258c4d052bca143f9896c5@news.gmane.org>
Message-ID: <4B22AAA9.1050205@stats.uwo.ca>

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



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