[Rcpp-devel] conflict between R_ext/Applic.h and RcppArmadillo.h?
Dirk Eddelbuettel
edd at debian.org
Thu Mar 1 23:35:39 CET 2012
Richard,
On 1 March 2012 at 15:36, Dirk Eddelbuettel wrote:
|
| Hi Richard,
|
| On 1 March 2012 at 16:25, Richard Chandler wrote:
| | Hi,
| |
| | I am trying to call Rdqags (from R_ext/Applic.h) in a C++ program that
| | uses RcppArmadillo. Everything seems to work fine except the compiler
| | warns about conflicts. Is there a way to avoid these conflicts? Could
| | they cause any unforeseen problems? Below is a self-contained example
| | illustrating the problem. Note that RcppArmadillo is not actually
| | required in the example, but it is in my program. See below for
| | sessionInfo().
Another idea would be to dig up some old posts on the about how Rcpp lets you
get R API access points directly. Davor used that to get to loess. That way
you would get to use Rdqags but without needing the conflicting header. Just
another thought.
Dirk
--
"Outside of a dog, a book is a man's best friend. Inside of a dog, it is too
dark to read." -- Groucho Marx
More information about the Rcpp-devel
mailing list