Hi!
Quick question: has anyone used Rcpp with C++ and Fortran?
Longer version: We have developed some C++ code to do MCMC sampling
with RcppEigen. It works pretty well: about a 70X speed
improvement over R code. We have been able to link this with some
ARMS C code rather easily. However, n
Could you clarify a bit, Rodney. When you say you want to "link it with
Fortran code" are you using the word "link" in the sense of linking to
object code or do you mean that you will copy the Fortran source files into
your package's src directory and have them compiled with other source
files? T
The short version is that basically you just have to put the
FORTRAN .f files into /src in your package, and access them
from R with the .C command. The hardest part for me was
figuring out just what the heck the inputs and outputs were
for my FORTRAN code, as it was vaguely documented.
I ha