[R] compiling under windows

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Jul 1 08:52:40 CEST 2005


On Thu, 30 Jun 2005, Philip Bermingham wrote:

> What is the best way to set up a project in visual studio, work on R and
> re compile?  Is it better to use a different compiler or programming
> environment?  I specifically want to work on C and Fortran extensions.

See the `R Installation and Administration' manual.

It is possible to use Visual C++ (there is no Fortran in Visual Studio, 
although a third-party* extension has been available), but it is easier 
and more reliable to use the compilers used to build R itself. Information 
on using VC++ is in the file README.packages, in the top-level directory 
of a binary installatiion and in R_HOME/src/gnuwin32 in the sources.


* Originally from DEC then Compaq and now apparently from Intel.



-- 
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




More information about the R-help mailing list