Fix Fortran reference for math/R (DATASET-962)