[R] How to build R on WinNT with ATLAS?

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Jun 29 14:54:33 CEST 2001


On Fri, 29 Jun 2001, Liaw, Andy wrote:

> Hi all,
>
> Can anyone tell me how to build R on NT4 with link to ATLAS?
> I've downloaded all the tools, compilers and libraries on
> Prof. Ripley's Rtools "portal", and the pre-built binary ATLAS
> for Pentium II from netlib.  In src/gnuwin32/INSTALL, it
> says to edit MkRules and Makefile, but I don't see any
> reference to BLAS or ATLAS in those files.

I assume that you have made ATLAS compile on Windows?  I failed with the
current version ....

You will need to do a fair bit of work.  BLAS uses src/appl/blas.f. Remove
that and re-make in src/appl, then link lapack.so and R.dll against the
ATLAS dll you made.

> Also, where should I put libz.a, libpng.a and libjpeg.a after
> I compiled them from source?

src/gnuwin32/bitmap/INSTALL tells you what to do, indeed the options you
need to compile them.  You don't need to move them from there.

> BTW, anyone know where to find the MS HTML Help Workshop?
> The link on the Rtools portal doesn't find it.  Search on MSDN
> turns up nothing either.

That's recent: it worked last week, as I checked all the links in
R-1.3.0 before release.

It comes with VisualStudio, for example.  Looks like it is now part of
.NET beta SDK.

I'll try to find out if I have permission to put it up.

> I really would like to have R compiled with ATLAS.  I did this
> on a Linux box, and the speed improvement for some matrix
> operations is amazing.  For example, cor() runs approx. 10x
> faster than R1.2.3 and Splus 6 on the same platform.

(My tests were much less spectacular.  After running R with ATLAS on both
Linux and Solaris I stopped, as I rarely saw more than a few percent gain
on my real tasks.  Your mileage may vary.)

>
> TIA for any help!

If you do succeed, contribute back what you did please.

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

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list