[Rcpp-devel] RcppArmadillo and Rdefines
Charles Determan Jr
deter088 at umn.edu
Wed Feb 25 16:26:33 CET 2015
I have finally solved the problem. After coming across another posting
http://r.789695.n4.nabble.com/rtools-fstream-error-td4702713.html I
discovered the problem. I needed to include #define R_NO_REMAP at the
start of my file and then append Rf_ to any function I use from
Rdefines.h. The package now compiles without error.
Thanks for your help Dirk, I know this was a long chain back and forth.
Regards,
Charles
On Wed, Feb 25, 2015 at 7:36 AM, Charles Determan Jr <deter088 at umn.edu>
wrote:
> My apologies, I should have just did this from the start. I thought it
> may be something simple. I create a git repo to access the stripped down
> package (just the first cpp function and a simple R function). If you
> clone it with:
>
> git clone https://github.com/cdeterman/test.git
>
> And try to build it you will get the errors I keep mentioning. If you
> switch #include <RcppArmadillo.h> to <Rcpp.h> it will compile fine.
>
> I truly do appreciate the help from this list, thank you for taking the
> time for this.
>
> Best regards,
> Charles
>
> On Tue, Feb 24, 2015 at 3:52 PM, Dirk Eddelbuettel <edd at debian.org> wrote:
>
>>
>> Hi Charles,
>>
>> I understand this is frustrating for you but we are wasting everybody's
>> time
>> here. Can you please prepare a minimally reproducible example?
>>
>> Also, maybe try some bisection. Does the problem go away after you remove
>> bigmemory/bigalgebra?
>>
>> Dirk
>>
>> --
>> http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
>>
>
>
>
> --
> Dr. Charles Determan, PhD
> Integrated Biosciences
>
--
Dr. Charles Determan, PhD
Integrated Biosciences
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20150225/fb7e7797/attachment.html>
More information about the Rcpp-devel
mailing list