[Rd] Rcmd build 32bit-only package on win7 64 bit platform?

2010-10-18 Thread Hans-Peter Suter
Is it possible to suppress compiling for the x64 arch when doing 'Rcmd
build ? Such that the pre-compiled package for binary
distribution only contains a 'lib/i386/mypkg.dll'.

For CHECK (and also INSTALL) there is a '--no-multiarch' argument, but
I didn't find something similar for build.

Otherwise, I suppose, I could
- handle the problem in Makevars or Makefile or
- build the shlib manually and put it at the correct place or
- provide a placeholder library with C (my code is Delphi, 64bit
should/will come next year)
- (build inside a XP32bit VM)

Are there any other packages which are 32bit only (for now)?

Thanks for any advise,
Hans-Peter

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


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

2010-10-25 Thread Hans-Peter Suter
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"
>

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel