0

Is there an elementary function in Rcpp to transform a Rcpp::list object within Rcpp to a Rcpp::NumericVector? One way would be to import the unlist function of R, but thats not very elegant.

2
  • 1
    Could you show a short R example of what you have in mind? Commented Aug 22, 2024 at 0:33
  • 1
    see stackoverflow.com/a/30201460/4002530 Commented Aug 22, 2024 at 1:08

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.