[Rd] RE: [R] ^ operation much slower in R 1.7.1 than in R 1.7 .0 ???

Marsland, John John.Marsland at CommerzbankIB.com
Tue Aug 5 11:07:02 MEST 2003


I used the packaged "MinGW-2.0.0-3.exe" exactly as specified on
http://www.stats.ox.ac.uk/pub/Rtools/ - in fact I used these recommendations
throughout.

According to the release notes MinGW version 2.0.0 contains the following
list of packages:

GCC-3.2-core-20020817-1
binutils-2.13-20020903-1
mingw-runtime-2.2
w32api-2.0
gdb-5.1.1-1
make-3.79.1-20010722 (binary renamed as mingw32-make)

Regards,

John Marsland
> -----Original Message-----
> From: Prof Brian Ripley [mailto:ripley at stats.ox.ac.uk]
> Sent: 05 August 2003 09:50
> To: Marsland, John
> Cc: r-devel at stat.math.ethz.ch
> Subject: RE: [Rd] RE: [R] ^ operation much slower in R 1.7.1 than in R
> 1.7 .0 ???
> 
> 
> So that pretty conclusively nails this as a compiler/runtime 
> difference.
> Which versions of the compiler and mingw-runtime did you use?
> 
> We'll need to wait until Duncan M returns to find out what he used.
> 
> On Tue, 5 Aug 2003, Marsland, John wrote:
> 
> > I have both the CRAN binary and my own compiled version of 
> R v1.7.1 on the
> > same machine (Dell Pentium III 800 MHz running NT 4)
> > 
> > Using the example provided earlier:
> > 
> > > phi <- 1.6180339887498949
> > > a <- floor(runif(750000)*1000)
> > > system.time(b <- (phi^a - (-phi)^(-a))/sqrt(5))[3]
> > 
> > I get 10.99 secs on the CRAN binary and 2.09 secs on my own compiled
> > version.
> > 
> > I hope this helps someone ... 
> > 
> > Regards,
> > 
> > John Marsland
> > 
> > > -----Original Message-----
> > > From: Prof Brian D Ripley [mailto:ripley at stats.ox.ac.uk]
> > > Sent: 05 August 2003 09:03
> > > To: Philippe Grosjean
> > > Cc: r-devel at stat.math.ethz.ch
> > > Subject: [Rd] RE: [R] ^ operation much slower in R 1.7.1 than 
> > > in R 1.7.0
> > > ???
> > > 
> > > 
> > > On Tue, 5 Aug 2003, Philippe Grosjean wrote:
> > > 
> > > > I propose to move this thread to R-devel...
> > > >
> > > > Prof. Brian Ripley wrote:
> > > > >And are you able to give an explanation?  For example, did 
> > > you compile
> > > > >each under the same compiler system?
> > > >
> > > > I just noticed that behaviour yesterday, and had not much 
> > > time yet to
> > > > investigate it. I compiled 1.7.0 myself (but compared with 
> > > the binary
> > > > provided on CRAN; no changes). I used the 1.7.1 binary 
> > > provided on CRAN. I
> > > > know these binaries are not supported, so we (Windows 
> > > users) will have to
> > > > look at that by ourselve. Indeed yes, I'll first compile 
> > > 1.7.1 with the same
> > > > compiler I used for 1.7.0.
> > > >
> > > > >I doubt if this is worth R-core's time to pursue, so over 
> > > to interested
> > > > >users to find an explanation and fix.
> > > >
> > > > OK. But I was wondering if people at R-core team, 
> > > especially those who
> > > > worked on Windows specific aspects, would have in mind some 
> > > changes they did
> > > > between 1.7.0 and 1.7.1 than can cause this. Since these 
> > > changes are mainly
> > > > corrections of bugs, the list is hopefully not so long... 
> > > and it could help
> > > > a lot to have these hints. Thanks very much.
> > > 
> > > No idea from me, and the effect is not seen on other platforms.
> > > 
> > > -- 
> > > Brian D. Ripley,                  ripley at 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
> > 
> > ______________________________________________
> > R-devel at stat.math.ethz.ch mailing list
> > https://www.stat.math.ethz.ch/mailman/listinfo/r-devel
> > 
> 
> 
> ********************************************************************** 
> This is a commercial communication from Commerzbank AG.\ \ T...{{dropped}}
> 
> ______________________________________________
> R-devel at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-devel
> 

-- 
Brian D. Ripley,                  ripley at 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


********************************************************************** 
This is a commercial communication from Commerzbank AG.\ \ T...{{dropped}}



More information about the R-devel mailing list