Fortran Wiki

  • RFortran – Linking to R from Fortran - for Intel Fortran on Windows
  • Building an R Package with Fortran (or C) by Avraham Adler
  • Fortran-Rinside Code demonstrating the use of the RInside package to call R from Fortran, discussed here. By Ivan Pribec
  • RFI: R to Modern Fortran Interface
  • inline - Functions to Inline C, C++, Fortran Function Calls from R
  • X2R - R-compatible output routines for AD Model Builder, C, C++, and Fortran
  • dotCall64: Enhanced Foreign Function Interface Supporting Long Vectors Provides .C64(), which is an enhanced version of .C() and .Fortran() from the foreign function interface. .C64() supports long vectors, arguments of type 64-bit integer, and provides a mechanism to avoid unnecessary copies of read-only and write-only arguments. This makes it a convenient and fast interface to C/C++ and Fortran code.
  • RFortranRcpp Testing communication between fortran, Rcpp and R, by Konrad1991. Showing the possibility to pass Rcpp function to fortran and vice versa. It is also possible to pass a Fortran function (e.g.from user) to Rcpp which afterwards can be passed to fortran. This is done using an external pointer and the C interface of fortran. It is also possible to pass a R function to fortran.