Re: [Rd] Numerical instability in new R Windows development version

2012-01-30 Thread Duncan Murdoch
This did turn out to be a bug in the new toolchain, and Brian Ripley has devised a patch and put together a new one. I've uploaded a new Rtools215.exe, which should be available for download tomorrow, and builds of R-patched and R-devel will soon use it. Everything takes a while to propagate

[Rd] Numerical instability in new R Windows development version

2012-01-27 Thread Hans W Borchers
I have a question concerning the new Windows toolchain for R = 2.14.2. When trying out my package 'pracma' on the win-builder development version it will stop with the following error message: f3 - function(x, y) sqrt((1 - (x^2 + y^2)) * (x^2 + y^2 = 1)) dblquad(f3, -1, 1, -1, 1) #

Re: [Rd] Numerical instability in new R Windows development version

2012-01-27 Thread Duncan Murdoch
On 12-01-27 7:23 AM, Hans W Borchers wrote: I have a question concerning the new Windows toolchain for R= 2.14.2. When trying out my package 'pracma' on the win-builder development version it will stop with the following error message: f3- function(x, y) sqrt((1 - (x^2 + y^2)) * (x^2 +

Re: [Rd] Numerical instability in new R Windows development version

2012-01-27 Thread peter dalgaard
On Jan 27, 2012, at 13:23 , Hans W Borchers wrote: (1 - (x^2 + y^2)) * (x^2 + y^2 = 1) It appears to be an often used trick in numerical analysis. One advantage is that a function using it is immediately vectorized while an expression such as, e.g., max(0, 1 - (x^2 + y^2)) is not.

Re: [Rd] Numerical instability in new R Windows development version

2012-01-27 Thread Prof Brian Ripley
On 27/01/2012 13:26, Duncan Murdoch wrote: On 12-01-27 7:23 AM, Hans W Borchers wrote: I have a question concerning the new Windows toolchain for R= 2.14.2. When trying out my package 'pracma' on the win-builder development version it will stop with the following error message: f3-

Re: [Rd] Numerical instability in new R Windows development version

2012-01-27 Thread Duncan Murdoch
On 27/01/2012 12:32 PM, Prof Brian Ripley wrote: On 27/01/2012 13:26, Duncan Murdoch wrote: On 12-01-27 7:23 AM, Hans W Borchers wrote: I have a question concerning the new Windows toolchain for R= 2.14.2. When trying out my package 'pracma' on the win-builder development version it

Re: [Rd] Numerical instability in new R Windows development version

2012-01-27 Thread Duncan Murdoch
On 27/01/2012 1:26 PM, Duncan Murdoch wrote: On 27/01/2012 12:32 PM, Prof Brian Ripley wrote: On 27/01/2012 13:26, Duncan Murdoch wrote: On 12-01-27 7:23 AM, Hans W Borchers wrote: I have a question concerning the new Windows toolchain for R= 2.14.2. When trying out my package

Re: [Rd] Numerical instability in new R Windows development version

2012-01-27 Thread Duncan Murdoch
On 27/01/2012 12:32 PM, Prof Brian Ripley wrote: On 27/01/2012 13:26, Duncan Murdoch wrote: On 12-01-27 7:23 AM, Hans W Borchers wrote: I have a question concerning the new Windows toolchain for R= 2.14.2. When trying out my package 'pracma' on the win-builder development version it

Re: [Rd] Numerical instability in new R Windows development version

2012-01-27 Thread Stephen Weston
On Fri, Jan 27, 2012 at 1:40 PM, Duncan Murdoch murdoch.dun...@gmail.com wrote: On 27/01/2012 12:32 PM, Prof Brian Ripley wrote: On 27/01/2012 13:26, Duncan Murdoch wrote:  On 12-01-27 7:23 AM, Hans W Borchers wrote:  I have a question concerning the new Windows toolchain for R= 2.14.2.