Re: [R] Rgdal windows binary warning message

From: Duncan Murdoch <>
Date: Tue 02 Aug 2005 - 21:59:21 EST

Prof Brian Ripley wrote:

> This is a consequence of how VC++ compiled gdal.  R is protecting 
> itself against that.  Since R did not crash, there is nothing to worry 
> about.

To add to that: the RGDAL maintainer could work around this bug in VC++. I haven't used that compiler, but with others it is sufficient to ask R to set the FPU control word. Instructions are here: <>

Duncan Murdoch

> On Tue, 2 Aug 2005, Tony Gill wrote:

>>Hi all,
>>I just downloaded windows binaries of RGDAL (from
>> and installed.
>>I ran the example R_HOME\library\rgdal\R-ex\getPixmapGDAL.R and everything
>>seemed to work as expected. However I got the following warning message:
>>DLL attempted to change FPU control word from 8001f to 9001f
>>The R-help (?dyn.load) describes the problem as:
>>External code must not change the floating point control word, but
>> many DLLs do so. Common changes are to set it to use 53 bit
>> precision instead of R's default 64 bit precision, or to unmask
>> some exceptions. 'dyn.load' detects such changes, and restores
>> R's control word to its default value of hex 8001F. This may
>> cause the DLL to malfunction; if so, it should be rewritten to
>> save and restore the control word itself. If 'warn.FPU' is set to
>> 'TRUE' using the 'options' function, a warning will be printed.
>> (If the warning says that the control word was changed from some
>> other value than 8001F, please report the circumstances to the
>> Windows maintainers: that probably indicates an internal bug.)
>>Does anyone know if this is a major problem for reading and manipulating
>>image files using RDAL? And if so are there windows binaries which have
>>patched it up?
>>Thanks in advance
>>Tony Gill - PhD Candidate
>>Centre for Remote Sensing & Spatial Information Science
>>School of Geography, Planning & Architecture
>>University of Queensland
>>Brisbane, Queensland, AUSTRALIA, 4072
>>Ph: 61-7-3365-7027
>> [[alternative HTML version deleted]]
>> mailing list
>>PLEASE do read the posting guide!
> mailing list PLEASE do read the posting guide! Received on Tue Aug 02 22:03:15 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 15:01:07 EST