Skip to content
Prev 26942 / 63434 Next

Using Fortran 95 in an R package?

On Sun, 9 Dec 2007, John Fox wrote:

            
Yes, there are still portability issues.  We do still see quite a few 
people using gcc3/g77 (especially on older Linux and commercial Unices) 
and there are further issues if you make use of subprogram names 
containing underlines.  We don't distribute a cross-building solution for 
Windows using gfortran (although one can be built, it will not be mature
until gcc 4.3.x is out).

However, I would not let that deter you: just use .f95 extensions on the 
Fortran 95 files and avoid underlines.  For Windows users you are 
effectively requiring R >= 2.6.0.

Brian