No problem.
One more piece of list etiquette: when writing follow-up emails,
please CC the list in your response to individuals who have directly
answered you. This prevents questions from being (privately) answered
repeatedly.
Two questions:
* Can you confirm that you do, in fact, have RcppArma
On 11 March 2015 at 19:34, Jordi Molins Coronado wrote:
| I think I can answer my own question: #include is not in the BH package. Instead, #include
is included, so if I add this #include in my file, the
| compile works. But apparently, I cannot include cpp_int.cpp.
Correct, it is not (yet) in
I think I can answer my own question: #include
is not in the BH package. Instead, #include
is included, so if I add this #include
in my file, the compile works. But apparently, I cannot include cpp_int.cpp.
I have an odd problem: now I have the computeGCD function working. My next step
has been to create another function doing something trivial, but adding the
include for multiprecision of integers:
// We can now use the BH package// [[Rcpp::depends(BH)]]
#include #include #include
using namespace
Dirk,
sorry for the newbie mistakes. Now I know I want to use compileAttributes() :)
___
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/
Jordi,
1) Please edit your replies. There is no need to return all the prior emails.
2) Please read the vignette 'Rcpp Attributes'. The vignette has all the
answers. In short you REALLY do not want sourceCpp in a package.
Dirk
--
http://dirk.eddelbuettel.com | @eddelbuettel | e...@debi
I have restarted everything, and now I can already compute GCD using the boost
library, thank you for your help. Just an annoying thing: when I do:
sourceCpp("convolve.cpp")
I get a warning, which I did not get the first time I built my project (without
the boost file).
Warning message:In normali
Could you provide the build error you are referring to? You shouldn't need
to change the PKG_CXXFLAGS variable at all. Try restarting your
environment and rebuilding. I just created a package containing your code
with the BH package without error on Windows 7.
On Wed, Mar 11, 2015 at 7:09 AM, J
On 11 March 2015 at 07:05, Charles Determan Jr wrote:
| I think you want to check your DESCRIPTION file. I believe you need to have
| the 'LinkingTo:' option to also include BH.
Beat me to it :)
That is exactly it -- "LinkingTo: BH" is what you need (and our documentation
says so in many pl
Thank you very much for your answer. I have changed the DESCRIPTION file to
include:
LinkingTo: Rcpp, BH
(before: LinkingTo: Rcpp) but it continues giving the same build error.
Date: Wed, 11 Mar 2015 07:05:39 -0500
Subject: Re: [Rcpp-devel] Question about Rcpp and boost
From: deter...@umn.edu
To:
I think you want to check your DESCRIPTION file. I believe you need to
have the 'LinkingTo:' option to also include BH.
Regards,
Charles
On Wed, Mar 11, 2015 at 6:58 AM, Jordi Molins Coronado <
jordi_mol...@hotmail.com> wrote:
> Hello,
>
> I know this question has been answered before (and I ha
Hello,
I know this question has been answered before (and I have searched for it), but
I cannot figure out a solution:
I want to use boost with Rcpp, basically to be able to use numbers with a
higher precision than a double. I am comfortable using the inline package for
small c++ functions, I ha
12 matches
Mail list logo