Rcpp: Seamless R and C++ Integration - The Comprehensive R Archive Network

Rcpp: Seamless R and C++ Integration - The Comprehensive R Archive Network

瀏覽:984
日期:2025-06-20
6 Rcpp: Seamless R and C++ Integration 2.5. Character vectors A second example deals with character vectors and emulates this R code: R> c("foo", "bar") Using the traditional R API, the vector can be allocated and lled as such: SEXP ab; PROTECT(ab ......看更多