diffusr icon indicating copy to clipboard operation
diffusr copied to clipboard

Rcpp name exportation does not work with R-style function names

Open dirmeier opened this issue 8 years ago • 0 comments

// [[Rcpp::interfaces(r, cpp)]]
// [[Rcpp::export(name=".as")]]
Rcpp::List neighbors_(const Rcpp::IntegerVector& node_idxs,
                      const Rcpp::NumericMatrix& W,
                      const int k)
{
...;
 }

This gives an error when registering routines. I guess this cannot be circumvented but to change the exported name.

dirmeier avatar Jun 05 '17 11:06 dirmeier