Re: [Rd] Problem following an R bug fix to integrate()

2013-07-19 Thread Ravi Varadhan
vi -Original Message- From: r-devel-boun...@r-project.org [mailto:r-devel-boun...@r-project.org] On Behalf Of Hans W Borchers Sent: Wednesday, July 17, 2013 3:36 PM To: Martyn Plummer Cc: r-devel@r-project.org Subject: Re: [Rd] Problem following an R bug fix to integrate() Thanks for the help.

Re: [Rd] Problem following an R bug fix to integrate()

2013-07-18 Thread J. R. M. Hosking
On 2013-07-16 07:55, Hans W Borchers wrote: I have been told by the CRAN administrators that the following code generated an error on 64-bit Fedora Linux (gcc, clang) and on Solaris machines (sparc, x86), but runs well on all other systems): > fn<- function(x, y) ifelse(x^2 + y^2<= 1, 1 -

Re: [Rd] Problem following an R bug fix to integrate()

2013-07-18 Thread Hans W Borchers
Thanks for the help. What bothers me is that it works on most systems and does not work on some more 'exotic' systems -- though it should work everywhere however small the user chooses the tolerance (with some warnings, maybe). I decided I will apply my own integration routines in this example as

Re: [Rd] Problem following an R bug fix to integrate()

2013-07-17 Thread Martyn Plummer
On Tue, 2013-07-16 at 13:55 +0200, Hans W Borchers wrote: > I have been told by the CRAN administrators that the following code generated > an error on 64-bit Fedora Linux (gcc, clang) and on Solaris machines (sparc, > x86), but runs well on all other systems): > > > fn <- function(x, y) ifels