Skip to content

[R-pkg-devel] Regarding Fortran 77/95 Codes for building R package

2 messages · Vineetha Warriyar Kodalore Vijayan, MTurgeon

#
Hi,


 I'm new to programming and now trying to build a R package which uses Fortran 95 codes ( gfortran 6.1 compiler) with a view to submit to CRAN at some point of time. I did go through the "Writing R extension" manual and got an impression that the codes must be in FORTRAN 77.

I would like to know if I can proceed with my fortran 95 codes or do I have to change everything into FORTRAN 77.  I would really appreciate if you can provide a right direction how to proceed.


Thank you,

Vineetha
#
Hi Vineetha,

The key part of Writing R extensions is section 1.2.3., especially the 
following sentence: "Packages making use of Fortran 90/95 features 
should use file extension.f90or.f95for the source files".

Incidentally, your question has already been asked on this mailing list: 
https://stat.ethz.ch/pipermail/r-devel/2007-December/047695.html.

Best,

Max
On 16-07-28 01:30 PM, Vineetha Warriyar Kodalore Vijayan wrote: