Skip to content
Back to formatted view

Raw Message

Message-ID: <20303.63931.309220.419312@max.nulle.part>
Date: 2012-03-01T22:35:39Z
From: Dirk Eddelbuettel
Subject: [Rcpp-devel] conflict between R_ext/Applic.h and	RcppArmadillo.h?
In-Reply-To: <20303.60354.732119.908650@max.nulle.part>

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