From gchappi at gmail.com  Mon Oct 25 16:01:04 2010
From: gchappi at gmail.com (Hans-Peter Suter)
Date: Mon, 25 Oct 2010 16:01:04 +0200
Subject: [Rd] Possible bug with scrambled messages on Win7-64bit using
 R2.12.0 (32/64 bit version)
Message-ID: <AANLkTikC8kd+fq=Y8g_vK2H=rDrKz9Pki5=tsttK1BMi@mail.gmail.com>

When executing 'dyn.load("this/dll/does/not/exist.dll")' the resulting
error message is scrambled. Not all characters will be displayed and
when I select the empty region text disappears/reappears.

For a screenshot see:
http://dl.dropbox.com/u/2602516/dyn.load_error1.PNG and
http://dl.dropbox.com/u/2602516/dyn.load_error2.PNG.

Note: I had the same problem with xlsReadWrite startup messages with
R2.12.0. The solution was to replace my 'CRLF' (windows) line endings
with 'LF' (unix). While debugging the issue, I noticed that the
problem only occurs on my Win7-64bit platform but not on WinXP-32bit.

Cheers,
Hans-Peter

> dyn.load("this/dll/does/not/exist.dll")
Error in inDL(x, as.logical(local), as.logical(now), ...) :
  unable to load shared object 'C:/Program
Files/R/R-2.12.0/bin/i386/this/dll/does/not/exist.dll':
  LoadLibrary failure:  Das angegebene Modul wurde nicht gefunden.
<--- THIS LINE DOES NOT SHOW IN RGUI

> sessionInfo()
R version 2.12.0 (2010-10-15)
Platform: i386-pc-mingw32/i386 (32-bit)

locale:
[1] LC_COLLATE=German_Switzerland.1252  LC_CTYPE=German_Switzerland.1252
[3] LC_MONETARY=German_Switzerland.1252 LC_NUMERIC=C
[5] LC_TIME=German_Switzerland.1252

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base
> Sys.getlocale()
[1] "LC_COLLATE=German_Switzerland.1252;LC_CTYPE=German_Switzerland.1252;LC_MONETARY=German_Switzerland.1252;LC_NUMERIC=C;LC_TIME=German_Switzerland.1252"
>



[Rd] Possible bug with scrambled messages on Win7-64bit using R2.12.0 (32/64 bit version)
Hans-Peter Suter