From ripley@stats.ox.ac.uk  Thu Aug  8 07:40:37 2002
From: ripley@stats.ox.ac.uk (ripley@stats.ox.ac.uk)
Date: Thu, 8 Aug 2002 07:40:37 +0100 (BST)
Subject: Change in NA_REAL behavior (PR#1886)
In-Reply-To: <200208072050.WAA06388@pubhealth.ku.dk>
Message-ID: <Pine.LNX.4.31.0208080733440.25351-100000@gannet.stats>

There is nothing here to reproduce the claimed bug.

NA_REAL is a reference to a constant in the R.dll, and is unchanged for
a long time.

Since R still works, the problem is not occurring for those who compile R
and its packages under the recommended compiler and tools.

I note you use `cygwin and gcc'.  The documentation has said for a long
time that compilation with Cygwin is not supported.

On Wed, 7 Aug 2002 larsendr@missouri.edu wrote:

> Full_Name: David Larsen
> Version: 1.5.1
> OS: Redhat 7.2, w98, w2000
> Submission from: (NULL) (128.206.66.65)
>
>
> I have c code that produces vector sequences for plotting.  I use NA_REAL to
> create an NA that will pass back to R to break the line.  This code worked fine
> upto R-1.5.0 It continues to work on Redhat7.2 Linux but on both windows98 and
> windows2000 the NA_REAL returns -6.623485e-229 on both windows systems.  I use
> cygwin and gcc to compile the code which I updated in July along with R-1.5.1
> The code includes R.h, Rinternals.h, and Rmath.h
>
> Using this same configuration this has worked for the last year.

-- 
Brian D. Ripley,                  ripley@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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


Change in NA_REAL behavior (PR#1886)
ripley@stats.ox.ac.uk