I have developed a dual chain markov monte carlo model designed to forecast loan portfolios in the excellent package Rcpp but have run into an issue t ...
I have developed a dual chain markov monte carlo model designed to forecast loan portfolios in the excellent package Rcpp but have run into an issue t ...
I'm having a problem while trying to learn RcppParallel. I tried to modify the code form https://rcppcore.github.io/RcppParallel/ for the vector summa ...
Overview: I'm interested in parallelizing (across chains) a Gibbs sampler for a non-trivial regression problem that I've already implemented in serial ...
I have a package posted on CRAN which uses multiple cores through the RcppParallel framework. It has the problem being installed on r-devel-linux-x86_ ...
This is my first try with the RcppParallel package and I have to work with C++17 (Ubuntu) I tried to stay close to the ParallelFor example of the dev ...
I am trying to use RcppParrallel to estimate distances between rows of two 3D-matrix and return a new matrix. I saw examples of Parallel Distance Matr ...
I am looking for a deterministic threadsafe Rcpp algorithm for 2-D numerical integration. RcppNumerical provides a partial interface to Cuba for multi ...
As I'm a bit new to Rcpp, I might be missing a trick here. Let's create two matrices: I now want the following done: I then created a Rcpp vers ...
I'm new to Rcpp and RcppParallel. I'm trying to use RcppParallel to optimize my R code and now I'm making some toy codes for studying them. Now I made ...
I am pretty new at Rccp and Rccpparallel and I have trouble figuring out where I made mistake. So I want to create a function that do a power element ...
Building off the example here Parallel Worker in namespace, I would like to employ function pointers with the Parallel Worker. The code below produce ...
This example is a follow up example from this earlier post. I am trying to move the Parallel Worker to its own cpp file and and declare it in the head ...
I was using this Rcpp code to do a quickselect on a vector of values, i.e. obtain the kth largest element from a vector in O(n) time (I saved this as ...
I am trying to parallelize for cycle computing fitness value of individuals. For this whole algorithm I am using Rcpp, but fitness function is passed ...
I'm trying to apply a function to multiple groups/id's in r using the foreach package. It's taking forever to run using parallel processing via %dopar ...
I am trying to parallelise the addition of (large) vectors using RcppParallel. That's what I've come up with. It seems to work, but doesn't speed u ...
This problem arose from testing my R (RcppParallel) package on windows through the win-builder-r, as for my mac there is not a problem. "error: 'mt1 ...
I know the problem I have is a thread-safety issue. As the code I have now will execute with 'seThreadOptions(1)'. My question is what would be a good ...
I would like to use a threadsafe function pointer to be applied in an RcppPrallel worker. But I have already problems with this tiny example. No matte ...
I presume, or rather hope, that I have a singular fixable problem or perhaps many smaller ones and should give up. Either way I am relatively new to R ...