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

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-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) ifelse(x^2

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

2013-07-16 Thread Hans W Borchers
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 - x^2 - y^2, 0) tol - 1.5e-8 fy -