[Rd] Toolchains for x64 Windows

2010-07-26 Thread Prof Brian Ripley
The MinGW-w64 project, whose toolchains we use for 64-bit Windows, 
have made some changes to their conventions *and* removed all the 
older binary builds from their site.  The current toolchains are not 
suitable for use with R 2.11.x, and I've re-packaged an older version 
(which is) as 
http://www.stats.ox.ac.uk/pub/Rtools/oldWin64toolchain.zip


The most critical change is to no longer have an additional leading 
underscore on symbols, and we will adopt that convention for R 2.12.0. 
R-devel is now set up by default to use it: if you have been building 
R-devel with an older toolchain you will need to start afresh with the 
new one, a snapshot of which is at

http://www.stats.ox.ac.uk/pub/Rtools/Win64No_toolchain.zip

The currently recommended tools are (as ever) documented in the 
R-admin manual for the version of R you use.


Static and import libraries (but fortunately not DLLs) are 
incompatible across these changes.  Only a very few binary packages 
(e.g. Rcpp [*]) contain these, but quite a few are built using import 
libraries for external software, and either need the import libraries 
recompiled or to be converted to link directly to DLLs.  (These 
include RCurl RGtk2 cairoDevice hdf5 lossDev png rjags.)  The 
libraries we use for CRAN packages have all been recompiled: these are 
available under


old: http://www.stats.ox.ac.uk/pub/Rtools/goodies/Win64/
new: http://www.stats.ox.ac.uk/pub/Rtools/goodies/Win64No_/

Uwe Ligges does not yet have a build service for R-devel on 
win-builder: it is hoped to have such a service within the next month 
using 32/64-bit builds, the 64-bit part using the new toolchain.


Note that the underscore convention is not the only thing which has 
changed: gcc 4.5.x is used (rather than 4.4.4) and there are extensive 
changes to the headers.  Some of these also necessitate changes to 
packages.


[*] This means that if you use Rcpp the advice is to install from 
sources yourself Rcpp and any packages using it if you are using 
R-devel on Windows.


--
Brian D. Ripley,  rip...@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel:  +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UKFax:  +44 1865 272595

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


Re: [Rd] R.exe crashes on R v2.12.0dev (Windows Vista)

2010-07-26 Thread Henrik Bengtsson
Just FYI: Problem remains (on same system) with R version 2.12.0
Under development (unstable) (2010-07-21 r52590):

Problem signature:
  Problem Event Name:   APPCRASH
  Application Name: R.exe
  Application Version:  2.120.52590.0
  Application Timestamp:4c471362
  Fault Module Name:R.exe
  Fault Module Version: 2.120.52590.0
  Fault Module Timestamp:   4c471362
  Exception Code:   c005
  Exception Offset: 240e
  OS Version:   6.0.6002.2.2.0.256.6
  Locale ID:1033
  Additional Information 1: 8772
  Additional Information 2: 9431192a7274b0ee769861df31ecee58
  Additional Information 3: f768
  Additional Information 4: 930d06d3f6aed4162dca7601993082f5

Anyone knows if there anything else I can do to provide more debug
information on this?

/Henrik

On Sat, May 22, 2010 at 10:37 AM, Henrik Bengtsson h...@stat.berkeley.edu 
wrote:
 Using the latest developers version of R [2.12.0 Under development
 (unstable) (2010-05-21 r52061)], R.exe crashes:

 %ProgramFiles%/R/R-2.12.0dev/bin/i386/R.exe

 with Windows reporting:

 Problem signature:
  Problem Event Name:   APPCRASH
  Application Name:     R.exe
  Application Version:  2.120.52061.0
  Application Timestamp:        4bf638bd
  Fault Module Name:    R.exe
  Fault Module Version: 2.120.52061.0
  Fault Module Timestamp:       4bf638bd
  Exception Code:       c005
  Exception Offset:     1d94
  OS Version:   6.0.6002.2.2.0.256.6
  Locale ID:    1033
  Additional Information 1:     1c1d
  Additional Information 2:     e064c795479179a5f08d19e37de8915e
  Additional Information 3:     50ea
  Additional Information 4:     02a385f4f3dc3301c3a9d270f946

 same occurs when calling:

 %ProgramFiles%/R/R-2.12.0dev/bin/R.exe

 However,

 C:\Users\hb\braju.com.R\R.matlab,R-forge%ProgramFiles%/R/R-2.12.0dev/bin/i386/Rterm.exe
 -e sessionInfo()

 R version 2.12.0 Under development (unstable) (2010-05-21 r52061)
 Copyright (C) 2010 The R Foundation for Statistical Computing
 ISBN 3-900051-07-0
 Platform: i386-pc-mingw32/i386 (32-bit)

 R is free software and comes with ABSOLUTELY NO WARRANTY.
 You are welcome to redistribute it under certain conditions.
 Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

 R is a collaborative project with many contributors.
 Type 'contributors()' for more information and
 'citation()' on how to cite R or R packages in publications.

 Type 'demo()' for some demos, 'help()' for on-line help, or
 'help.start()' for an HTML browser interface to help.
 Type 'q()' to quit R.

 sessionInfo()
 R version 2.12.0 Under development (unstable) (2010-05-21 r52061)
 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


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


Re: [Rd] R.exe crashes on R v2.12.0dev (Windows Vista)

2010-07-26 Thread Duncan Murdoch

On 26/07/2010 5:15 AM, Henrik Bengtsson wrote:

Just FYI: Problem remains (on same system) with R version 2.12.0
Under development (unstable) (2010-07-21 r52590):

Problem signature:
  Problem Event Name:   APPCRASH
  Application Name: R.exe
  Application Version:  2.120.52590.0
  Application Timestamp:4c471362
  Fault Module Name:R.exe
  Fault Module Version: 2.120.52590.0
  Fault Module Timestamp:   4c471362
  Exception Code:   c005
  Exception Offset: 240e
  OS Version:   6.0.6002.2.2.0.256.6


What is your OS? I don't know the MS numbering scheme...

Duncan Murdoch


  Locale ID:1033
  Additional Information 1: 8772
  Additional Information 2: 9431192a7274b0ee769861df31ecee58
  Additional Information 3: f768
  Additional Information 4: 930d06d3f6aed4162dca7601993082f5

Anyone knows if there anything else I can do to provide more debug
information on this?

/Henrik

On Sat, May 22, 2010 at 10:37 AM, Henrik Bengtsson h...@stat.berkeley.edu 
wrote:

Using the latest developers version of R [2.12.0 Under development
(unstable) (2010-05-21 r52061)], R.exe crashes:

%ProgramFiles%/R/R-2.12.0dev/bin/i386/R.exe

with Windows reporting:

Problem signature:
 Problem Event Name:   APPCRASH
 Application Name: R.exe
 Application Version:  2.120.52061.0
 Application Timestamp:4bf638bd
 Fault Module Name:R.exe
 Fault Module Version: 2.120.52061.0
 Fault Module Timestamp:   4bf638bd
 Exception Code:   c005
 Exception Offset: 1d94
 OS Version:   6.0.6002.2.2.0.256.6
 Locale ID:1033
 Additional Information 1: 1c1d
 Additional Information 2: e064c795479179a5f08d19e37de8915e
 Additional Information 3: 50ea
 Additional Information 4: 02a385f4f3dc3301c3a9d270f946

same occurs when calling:

%ProgramFiles%/R/R-2.12.0dev/bin/R.exe

However,

C:\Users\hb\braju.com.R\R.matlab,R-forge%ProgramFiles%/R/R-2.12.0dev/bin/i386/Rterm.exe
-e sessionInfo()

R version 2.12.0 Under development (unstable) (2010-05-21 r52061)
Copyright (C) 2010 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: i386-pc-mingw32/i386 (32-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

 Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.


sessionInfo()

R version 2.12.0 Under development (unstable) (2010-05-21 r52061)
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



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


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


Re: [Rd] R.exe crashes on R v2.12.0dev (Windows Vista)

2010-07-26 Thread Henrik Bengtsson
Shame on me; I put important only in the subject line.

It's Windows Vista Business 32-bit (Service Pack 2) English with the
latest updates.

/Henrik

On Mon, Jul 26, 2010 at 1:30 PM, Duncan Murdoch
murdoch.dun...@gmail.com wrote:
 On 26/07/2010 5:15 AM, Henrik Bengtsson wrote:

 Just FYI: Problem remains (on same system) with R version 2.12.0
 Under development (unstable) (2010-07-21 r52590):

 Problem signature:
  Problem Event Name:   APPCRASH
  Application Name:     R.exe
  Application Version:  2.120.52590.0
  Application Timestamp:        4c471362
  Fault Module Name:    R.exe
  Fault Module Version: 2.120.52590.0
  Fault Module Timestamp:       4c471362
  Exception Code:       c005
  Exception Offset:     240e
  OS Version:   6.0.6002.2.2.0.256.6

 What is your OS? I don't know the MS numbering scheme...

 Duncan Murdoch

  Locale ID:    1033
  Additional Information 1:     8772
  Additional Information 2:     9431192a7274b0ee769861df31ecee58
  Additional Information 3:     f768
  Additional Information 4:     930d06d3f6aed4162dca7601993082f5

 Anyone knows if there anything else I can do to provide more debug
 information on this?

 /Henrik

 On Sat, May 22, 2010 at 10:37 AM, Henrik Bengtsson h...@stat.berkeley.edu
 wrote:

 Using the latest developers version of R [2.12.0 Under development
 (unstable) (2010-05-21 r52061)], R.exe crashes:

 %ProgramFiles%/R/R-2.12.0dev/bin/i386/R.exe

 with Windows reporting:

 Problem signature:
  Problem Event Name:   APPCRASH
  Application Name:     R.exe
  Application Version:  2.120.52061.0
  Application Timestamp:        4bf638bd
  Fault Module Name:    R.exe
  Fault Module Version: 2.120.52061.0
  Fault Module Timestamp:       4bf638bd
  Exception Code:       c005
  Exception Offset:     1d94
  OS Version:   6.0.6002.2.2.0.256.6
  Locale ID:    1033
  Additional Information 1:     1c1d
  Additional Information 2:     e064c795479179a5f08d19e37de8915e
  Additional Information 3:     50ea
  Additional Information 4:     02a385f4f3dc3301c3a9d270f946

 same occurs when calling:

 %ProgramFiles%/R/R-2.12.0dev/bin/R.exe

 However,


 C:\Users\hb\braju.com.R\R.matlab,R-forge%ProgramFiles%/R/R-2.12.0dev/bin/i386/Rterm.exe
 -e sessionInfo()

 R version 2.12.0 Under development (unstable) (2010-05-21 r52061)
 Copyright (C) 2010 The R Foundation for Statistical Computing
 ISBN 3-900051-07-0
 Platform: i386-pc-mingw32/i386 (32-bit)

 R is free software and comes with ABSOLUTELY NO WARRANTY.
 You are welcome to redistribute it under certain conditions.
 Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

 R is a collaborative project with many contributors.
 Type 'contributors()' for more information and
 'citation()' on how to cite R or R packages in publications.

 Type 'demo()' for some demos, 'help()' for on-line help, or
 'help.start()' for an HTML browser interface to help.
 Type 'q()' to quit R.

 sessionInfo()

 R version 2.12.0 Under development (unstable) (2010-05-21 r52061)
 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


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



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


Re: [Rd] R.exe crashes on R v2.12.0dev (Windows Vista)

2010-07-26 Thread Duncan Murdoch

On 26/07/2010 10:25 AM, Henrik Bengtsson wrote:

Shame on me; I put important only in the subject line.

It's Windows Vista Business 32-bit (Service Pack 2) English with the
latest updates.
  


Oops, didn't notice that.  I don't have a Vista machine to test on.  I 
don't see the crash on a slightly newer build of R on XP SP3 or Windows 7.


If you know of a debugger that can dump a stack trace at the time of the 
crash, that would be helpful information.  (We used to use Dr. Watson 
for this, but I don't think it works in Vista/Win 7.  I've heard of 
something called userdump, but never tried it.)


Duncan Murdoch

/Henrik

On Mon, Jul 26, 2010 at 1:30 PM, Duncan Murdoch
murdoch.dun...@gmail.com wrote:
 On 26/07/2010 5:15 AM, Henrik Bengtsson wrote:

 Just FYI: Problem remains (on same system) with R version 2.12.0
 Under development (unstable) (2010-07-21 r52590):

 Problem signature:
  Problem Event Name:   APPCRASH
  Application Name: R.exe
  Application Version:  2.120.52590.0
  Application Timestamp:4c471362
  Fault Module Name:R.exe
  Fault Module Version: 2.120.52590.0
  Fault Module Timestamp:   4c471362
  Exception Code:   c005
  Exception Offset: 240e
  OS Version:   6.0.6002.2.2.0.256.6

 What is your OS? I don't know the MS numbering scheme...

 Duncan Murdoch

  Locale ID:1033
  Additional Information 1: 8772
  Additional Information 2: 9431192a7274b0ee769861df31ecee58
  Additional Information 3: f768
  Additional Information 4: 930d06d3f6aed4162dca7601993082f5

 Anyone knows if there anything else I can do to provide more debug
 information on this?

 /Henrik

 On Sat, May 22, 2010 at 10:37 AM, Henrik Bengtsson h...@stat.berkeley.edu
 wrote:

 Using the latest developers version of R [2.12.0 Under development
 (unstable) (2010-05-21 r52061)], R.exe crashes:

 %ProgramFiles%/R/R-2.12.0dev/bin/i386/R.exe

 with Windows reporting:

 Problem signature:
  Problem Event Name:   APPCRASH
  Application Name: R.exe
  Application Version:  2.120.52061.0
  Application Timestamp:4bf638bd
  Fault Module Name:R.exe
  Fault Module Version: 2.120.52061.0
  Fault Module Timestamp:   4bf638bd
  Exception Code:   c005
  Exception Offset: 1d94
  OS Version:   6.0.6002.2.2.0.256.6
  Locale ID:1033
  Additional Information 1: 1c1d
  Additional Information 2: e064c795479179a5f08d19e37de8915e
  Additional Information 3: 50ea
  Additional Information 4: 02a385f4f3dc3301c3a9d270f946

 same occurs when calling:

 %ProgramFiles%/R/R-2.12.0dev/bin/R.exe

 However,


 
C:\Users\hb\braju.com.R\R.matlab,R-forge%ProgramFiles%/R/R-2.12.0dev/bin/i386/Rterm.exe
 -e sessionInfo()

 R version 2.12.0 Under development (unstable) (2010-05-21 r52061)
 Copyright (C) 2010 The R Foundation for Statistical Computing
 ISBN 3-900051-07-0
 Platform: i386-pc-mingw32/i386 (32-bit)

 R is free software and comes with ABSOLUTELY NO WARRANTY.
 You are welcome to redistribute it under certain conditions.
 Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

 R is a collaborative project with many contributors.
 Type 'contributors()' for more information and
 'citation()' on how to cite R or R packages in publications.

 Type 'demo()' for some demos, 'help()' for on-line help, or
 'help.start()' for an HTML browser interface to help.
 Type 'q()' to quit R.

 sessionInfo()

 R version 2.12.0 Under development (unstable) (2010-05-21 r52061)
 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


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





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


[Rd] HowTo get callback on destroy of grDevices::windows()

2010-07-26 Thread rrich...@fh-lausitz.de

 I'm build with the usage of the tcltk/tcltk2 package a gui which is

started with rscript.exe. At this gui the user is able to open and close
plot windows.

Now I'm looking for a way that a r function is called when a
grDevices::windows window is closed.
Is there a way to attach a callback function or so, which would be
triggert if the user click at close of the grDevices::window?

My workarround is to check continues the open windows with the tcl
command after, but it's no good workarround.

thanks
roland

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