Rcpp
Rcpp copied to clipboard
Seamless R and C++ Integration
Hi, say for module: ``` RCPP_MODULE(XYZ){ using namespace Rcpp; class_("XYZ") .factory(&XYZ_constructor_1,"from integer matrix constructor",validate_matrix) .method("nrow",&XYZ::nrow,"returns #rows"); } ``` once compiled and loaded via `library(XYZ)` command `XYZ` prints to screen an...
Hi! I'm trying to use Harmony to correct batch effect But I encounter the following error: ```R Harmony 1/10 0% 10 20 30 40 50 60 70 80 90 100%...
## Enhancement: Support for Exporting Template and Namespaced Functions in Rcpp Rcpp has been an incredible tool for bridging R and C++, and its flexibility has inspired me to explore...
Meta-issue for discussion and to keep track of all the individual changes required to achieve this goal. --- It may be helpful to define three classes of tasks and an...
Hi Dirk, sorry if this is not exactly as much effort as you expect for an issue, I just wanted to flag something reported to *collapse* ([#648](https://github.com/SebKrantz/collapse/issues/648)), which is present...
It is being removed from R-devel. #### Checklist - [x] Code compiles correctly - [x] `R CMD check` still passes all tests - [ ] Preferably, new tests were added...
First step to #1247 * Add a message at compilation time, no masking yet * Protect the valid `Rf_error` calls generated by Rcpp #### Checklist - [x] Code compiles correctly...
Closes #1247. It turns out we are generating a call to `Rf_error` in `RcppExports.cpp` for C++ interfaces. I think that code path is obsolete, and it should never run with...
PR #1402 addresses the long-standing issue #1247 by masking `Rf_error()` and preferring `Rcpp::stop()`. A relatively small number of packages do need a minor adjustment each: often just a removal of...