[R] What should I do regarding "DLL attempted to change..." warning ?

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Apr 2 15:06:50 CEST 2010


On Fri, 2 Apr 2010, Duncan Murdoch wrote:

> On 02/04/2010 7:01 AM, Tal Galili wrote:
>> Hi all,
>> 
>> The call to:
>> library(rJava)
>> 
>> Results in the following warning massage:
>> 
>> Warning message:
>> In inDL(x, as.logical(local), as.logical(now), ...) :
>>   DLL attempted to change FPU control word from 8001f to 9001f
>> 
>> 
>> After some searching I found the following explanation:
>> 
>>> R expects all calls to DLLs (including the initializing call) to leave the
>>> FPU control word unchanged. Many run-time libraries reset the FPU control
>>> word during initialization; this will cause problems in R, and will result
>>> in a warning message like "DLL attempted to change FPU control word from
>>> 8001f to 9001f". The value 8001f that gets reported is in the format
>>> expected by the C library routine _controlfp; the raw value that is used
>>> in the FPU register is 037F.
>> 
>> 
>> Also with a few old discussions that explain (for a package developer) how
>> to avoid this.
>> 
>> 
>> The question is, should I, as a useR, do anything regarding this warning
>> massage ?
>
> It's a bug in the rJava package, so you should report it to the maintainer of 
> that package.

I suspect it is much more likely to be in the Java installation being 
linked to, so you should make sure that is fully updated and report 
its version to the maintainer if the problem persists.

It does not do this for me with Sun Java 1.6.0u18.


>
> Duncan Murdoch
>
>> 
>> 
>> I use winXP , here is my sessionInfo()
>> 
>> 
>> R version 2.10.1 (2009-12-14)
>> 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
>> 
>> other attached packages:
>> [1] rJava_0.8-3
>> 
>> 
>> 
>> Thanks,
>> Tal
>> 
>> 
>> ----------------Contact
>> Details:-------------------------------------------------------
>> Contact me: Tal.Galili at gmail.com |  972-52-7275845
>> Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
>> www.r-statistics.com (English)
>> 
>> ----------------------------------------------------------------------------------------------
>>
>> 	[[alternative HTML version deleted]]
>> 
>> ______________________________________________
>> R-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide 
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

-- 
Brian D. Ripley,                  ripley at 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, UK                Fax:  +44 1865 272595



More information about the R-help mailing list