From ripley at stats.ox.ac.uk  Fri Aug 13 13:05:14 2004
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Fri Aug 13 13:05:23 2004
Subject: [Rd] bus error /segmentation fault from 'approx' (PR#7166)
In-Reply-To: <20040813104727.74041111FE@slim.kubism.ku.dk>
Message-ID: <Pine.LNX.4.44.0408131202360.2196-100000@gannet.stats>

Neither version of R is  current.  The NEWS file has

                CHANGES IN R VERSION 1.9.1

   o   approx(list(x=rep(NaN,9), y=1:9), xout=NaN) does not seg.fault
        anymore (PR#6809).

and neither does your example (on a machine in whihc it did under 1.9.0).

On Fri, 13 Aug 2004 j.van_den_hoff@fz-rossendorf.de wrote:

> Full_Name: joerg  van den hoff
> Version: 1.9.0 and 1.7.1
> OS: MacOS (1.9.0), SunOS (1.7.1)
> Submission from: (NULL) (149.220.4.88)
> 
> 
> something like (sure not the originally intended input, but something like this
> can happen...):
> 
> approx(c(1,2),c(NA,NA),1.5)
> 
> crashes R (bus error under MacOS, segmentation fault under SunOS).
> 
> 
> search of the bug archive did not work. I hope this bug was not reported
> already

-- 
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 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


[Rd] bus error /segmentation fault from 'approx' (PR#7166)
Prof Brian Ripley