On 28 November 2013 at 10:10, Fábio Corrêa wrote:
| I`m use Fortran code for MCMC process. What I would like is to use the
| Rcpp code within the subroutines in Fortran.
| 
| For example?
| 
| 
| subroutine TEST (x, y, z)
| 
| ! Call function in Rcpp within Fortran
| CALL function.Rcpp (a,b,c,)
| 
| end subroutine TEST
| 
| Is this possible?

In as much as Fortran is capable of calling C, you could use Rcpp with C++
and hide it behind a C interface.  "Probably" doable, but klunky.

| Is there any manual setting an example?

Not that I know of.

Dirk

-- 
Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com
_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to