Core Functionality
Available with a standard installation
Current
- Initialisation - see Rinit
- Auto-opens R Gui if not already open
- Initialises COM interface
- Sets R working directory (user specified or default= current folder)
- Reads in RFortran settings file (user-specified or default)
- Reads in Rscripts from folder (user-specified or default)
- Optionally open specified graphics device
- Transfer following variable types between R and Fortran see Rput(data) / Rget
- integer(2),integer(4),real(4),real(8),logical,character
- Scalar, 1D, 2D and 3D arrays
- For Rget allocatable arrays can be sized to match R variable
- Error Handling
- All error messages are logged in a log file
- Notifies for R syntax errors
- When transfer variables from R to Fortran (Rget) notifies for
- Type, dimension and size mismatches -
- Invalid values (NA, NaN, Inf)
- Graphics Devices
- Open and manage following R graphics devices
- Graphics window
- Pdf file
- Postscript file
Planned
- Graphics Devices
- HTML output file
- Interactive Graphics Devices using R package (playwith)
- Runtime Performance testing
- Will be tested for a set of basic routines to provide some guidance of timing and memory overhead cost.
- Support for other compilers
- A DLL will be tested for wrapping the interface so that users from non-CVF or non-Intel compilers can use it. There is the potential for it to be written in C to have only 1 copy operation when passing arrays rather than the current 2 copy operations.
Extended Functionality
Relates to user customizable functions and may require installation of additional R packages
See comments in source code at beginning of files RFortran_Rplots, RFortran_Robjects, RFortran_Rfuncs for list of current capabilities