Communication between Fortran, Rcpp and R. Passing R or Fortran user code to Fortran code from a package.