Re: [R] calling R functions from Fortran via RInside?

2016-02-26 Thread Erin Hodgess
Please ignore previous message. I recompiled, and linked. Then things worked. For what it's worth, here are the steps. * g++ testC.cpp -c -I/home/erin/R/x86_64-pc-linux-gnu-library/3.2/RInside/include -I/home/erin/R/x86_64-pc-linux-gnu-library/3.2/Rcpp/include -I/usr/share/R/include*g++ -o

[R] calling R functions from Fortran via RInside?

2016-02-26 Thread Erin Hodgess
Hello everyone. Hope you are having a nice weekend. Is it possible to call R functions from a Fortran program, possibly via RInside and Rcpp, please? I tried the following that I saw on stack overflow. Here is the cpp: #include #include void helloR_(int argc, char *argv[], const char