Skip to content

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

@dirmeier

Description

@dirmeier
// [[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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions