Skip to content
Prev 27047 / 63458 Next

Fortran 90 and Windows

On Mon, 17 Dec 2007, Dave Roberts wrote:

            
'Writing R Extensions' is both up-to-date and definitive, so please read 
the primary documentation.  In particular, we have strengthened the 
comments about not using Fortran I/O, which can cause severe problems when 
using the GUI version of R under Windows (although we now have a 
workaround).
Since Windows' builds nowadays use gcc 4.2.1, if it works on your 
unspecified version of gfortran on Linux it will very likely work on 
Windows.  And you can check that for yourself via 
win-builder.r-project.org.

However, using F9x code suffixed .f is not portable, and there are 
plenty of other systems where it will fail, some of which would accept 
.f90 or .f95 extensions.

See also my reply to John Fox:

https://stat.ethz.ch/pipermail/r-devel/2007-December/047695.html