python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
check boolean expression in dataframe Rcpp (C++)
I have a dataframe dat with data and a vector rule with logical rules
set.seed(124)
ro <- round(runif(n = 30,1,10),2)
dat <- as.data.frame(matrix(data =ro,ncol = 3)) ; colnames(dat) <- paste0...
mr.T
Votes: 0
Answers: 1
Rcpp and parallel
I have an Rcpp routine that is given an R function and then does various computations. When run as such it works just fine. Now I want to run it in parallel, and then I get the error
Error in checkFor...
Wolfgang Rolke
Votes: 0
Answers: 1
Error in dyn.load(dll_copy_file) when building Rcpp package on Mac
I'm building my own Rcpp Package (name: RUtilities) on Mac. However, I encountered the following error when executing devtools::document()
** checking absolute paths in shared objects and dynamic libr...
Ding Li
Votes: 0
Answers: 0
Scale the columns of an RcppArmadillo matrix using lambda function
I want to min-max the columns of a matrix using RcppArmadillo and a lambda function, without using a for loop. I have tried this in the code below but this just returns the original matrix. How to rep...
NickSc79
Votes: 0
Answers: 0