From murdoch.duncan at gmail.com  Sat May  1 01:23:27 2010
From: murdoch.duncan at gmail.com (Duncan Murdoch)
Date: Fri, 30 Apr 2010 19:23:27 -0400
Subject: [Rd] as.character() crashes R 2.11 on Win2008 x64 and Win7 64
In-Reply-To: <BLU0-SMTP31267DAB7A68CA152E70E8EB000@phx.gbl>
References: <BLU0-SMTP31267DAB7A68CA152E70E8EB000@phx.gbl>
Message-ID: <4BDB666F.6070409@gmail.com>

On 30/04/2010 6:23 PM, Nicholas Hirschey wrote:
> Dear List,
>
>
>
> I have a Date vector, and converting to character causes R&nbsp;2.11 to&nbsp;crash on one machine running Win2008 x64 and another running Win7 x64. The code runs fine on R 2.10.
>
>
> For example,
> x &lt;-&nbsp;as.Date(rep(1:15000, 10), '1970-01-01')
> y &lt;- as.character(x)
>
>
> At this point, Rgui crashes.
>
>
> I get this using both the 32 and 64 bit 2.11.0 R builds.
>
>
> I'd appreciate any suggestions for how to eliminate these crashes (particularly with the x64 version).
>   

Use R-patched.

Duncan Murdoch
>
> Thanks,
>
> Nick
>
>
>
> The windows error log and session information is pasted below:
>
>
>
> &gt; sessionInfo()
>
> R version 2.11.0 (2010-04-22) 
>
> i386-pc-mingw32 
>
>
>
> locale:
>
> [1] LC_COLLATE=English_United States.1252 
>
> [2] LC_CTYPE=English_United States.1252   
>
> [3] LC_MONETARY=English_United States.1252
>
> [4] LC_NUMERIC=C                          
>
> [5] LC_TIME=English_United States.1252    
>
>
>
> attached base packages:
>
> [1] stats     graphics  grDevices utils     datasets  methods   base
>
>
>
> Log Name:      Application
>
> Source:        Application Error
>
> Date:          4/28/2010 3:00:23 PM
>
> Event ID:      1000
>
> Task Category: (100)
>
> Level:         Error
>
> Keywords:      Classic
>
> User:          N/A
>
> Computer:      
>
> Description:
>
> Faulting application name: Rgui.exe, version: 2.110.51801.0, time stamp: 0x4bd040ca
>
> Faulting module name: msvcrt.dll, version: 7.0.7600.16385, time stamp: 0x4a5bda6f
>
> Exception code: 0xc00000fd
>
> Fault offset: 0x0000a514
>
> Faulting process id: 0x29cc
>
> Faulting application start time: 0x01cae704e41e3609
>
> Faulting application path: C:\Users\hirschen\Documents\R\R-2.11.0\bin\Rgui.exe
>
> Faulting module path: C:\Windows\syswow64\msvcrt.dll
>
> Report Id: 4c17218f-52f8-11df-9214-0026b95eb365
>
> Event Xml:
>
> &lt;Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"&gt;
>
>   &lt;System&gt;
>
>     &lt;Provider Name="Application Error" /&gt;
>
>     &lt;EventID Qualifiers="0"&gt;1000&lt;/EventID&gt;
>
>     &lt;Level&gt;2&lt;/Level&gt;
>
>     &lt;Task&gt;100&lt;/Task&gt;
>
>     &lt;Keywords&gt;0x80000000000000&lt;/Keywords&gt;
>
>     &lt;TimeCreated SystemTime="2010-04-28T19:00:23.000000000Z" /&gt;
>
>     &lt;EventRecordID&gt;3586&lt;/EventRecordID&gt;
>
>     &lt;Channel&gt;Application&lt;/Channel&gt;
>
>     &lt;Computer&gt;&lt;/Computer&gt;
>
>     &lt;Security /&gt;
>
>   &lt;/System&gt;
>
>   &lt;EventData&gt;
>
>     &lt;Data&gt;Rgui.exe&lt;/Data&gt;
>
>     &lt;Data&gt;2.110.51801.0&lt;/Data&gt;
>
>     &lt;Data&gt;4bd040ca&lt;/Data&gt;
>
>     &lt;Data&gt;msvcrt.dll&lt;/Data&gt;
>
>     &lt;Data&gt;7.0.7600.16385&lt;/Data&gt;
>
>     &lt;Data&gt;4a5bda6f&lt;/Data&gt;
>
>     &lt;Data&gt;c00000fd&lt;/Data&gt;
>
>     &lt;Data&gt;0000a514&lt;/Data&gt;
>
>     &lt;Data&gt;29cc&lt;/Data&gt;
>
>     &lt;Data&gt;01cae704e41e3609&lt;/Data&gt;
>
>     &lt;Data&gt;C:\Users\hirschen\Documents\R\R-2.11.0\bin\Rgui.exe&lt;/Data&gt;
>
>     &lt;Data&gt;C:\Windows\syswow64\msvcrt.dll&lt;/Data&gt;
>
>     &lt;Data&gt;4c17218f-52f8-11df-9214-0026b95eb365&lt;/Data&gt;
>
>   &lt;/EventData&gt;
>
> &lt;/Event&gt;
>
>
>
>
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



[Rd] as.character() crashes R 2.11 on Win2008 x64 and Win7 64
Duncan Murdoch