Hi Roberto:
That is interesting. I see 5 warnings for std::iterator.
4 of those are coming from a subdirectory named tbb.
My first thought was that this is the Intel TBB library.
And sure enough in RcppParallel,
the SystemRequirements lists Intel TBB. So, now I’m
wondering if you have the same v
Hi Gang:
I have a tangential question. We have several R packages
based on Rcpp to call C++ code. Rcpp makes it so easy!
However, I am often asked by Python users: can we make
similar packages for that platform? I’m a newb with
respect to Python (after 30 years with S/R and C++ I am
still learn
Hi Gang:
I’m wondering what it would take to make RcppEigen functions
work wth sourceCpp? Please let me know. Thanks
--
Rodney Sparapani, Associate Professor of Biostatistics
Director, Wisconsin Chapter of the American Statistical Association
Institute for Health and Equity, Division of Biostat
Hi Gang:
For the last several years, I have wanted a way to create 3D arrays on the
C++ side and return them to R. For many of my projects, we are doing
MCMC and we DON'T NEED LINEAR ALGEBRA so we are not using Eigen nor
Armadillo. Of course, we could use Eigen tensors (but they can't be
retu
Hi Dirk:
On 3/26/16, 5:38 PM, "Dirk Eddelbuettel" wrote:
>Happy Easter to you too. I don't understand your point, I am afraid. If
>you
>think you need an rnorm variant with vector arguments for mean and sd, why
>don't you just write one, as you did here, and release it as a package?
>As I
>und
Hi Gang:
I was recently explaining to someone that functions like Rcpp::rnorm only
take scalars. Since the R function takes vectors, the OP was asking me
why?
I didn¹t have a good answer. This morning, I started thinking about it
and I realized this could easily be handled by over-loading (I kno
On Tue, 2015-02-17 at 17:53 -0700, JJ Allaire wrote:
> One piece of immediate feedback on your initial implementation: you
> can't call Rf_error from C++ code (as it will bypass C++ destructors
> on the stack). Rather, you should throw Rcpp::exception.
Hi JJ:
Ok, this puzzles me. We can't call R
On Tue, 2015-02-17 at 15:57 -0500, Yixuan Qiu wrote:
> Hello Rodney,
>
> If all you need is to pass a pointer to the fit() function (assuming
> fit() does not modify x) and get the result a, you do not need to make
> a copy. Simply wrap _x by a NumericVector and call the data() method.
>
> Rcpp::
Hi Gang:
I am working with some C++ code that uses pointers. I know I could
change the code. But, I was wondering if there is an easy way to
map the double pointer into the R data via Rcpp. I have been using
RcppEigen to do that. For example...
RcppExport SEXP myfunc(SEXP _n, SEXP _x) {
And here is the failure on OS X ML...
> sourceCpp(verbose=TRUE, rebuild=TRUE, file="~/arma-sp.cxx")
Generated extern "C" functions
#include
RcppExport SEXP sourceCpp_41979_convertSparse(SEXP matSEXP) {
BEGIN_RCPP
Rcpp::RNGScope __r
10 matches
Mail list logo