Extracting a column with NA's from a bigmemory object in Rcpp
问题 I'm trying to create a function that extracts a column from a big.matrix object in Rcpp (so that it can be analyzed in cpp before bringing the results to R), but I can't figure out how to get it to recognise NA's (they are now presented as -2147483648 - as shown in my minimal example below). It would be even better if I could access the function GetMatrixCols ( src/bigmemory.cpp ) straight from Rcpp, but I've yet to discover a way to do that. #include <Rcpp.h> // [[Rcpp::plugins(cpp11)]] // [