Rcpp: Recommended code structure when using data frames with Rcpp (inline)
问题 [I had this sketched out as a comment elsewhere but decided to create a proper question...] What is currently considered "best practice" in terms of code structuring when using data frames in Rcpp? The ease with which one can "beam over" an input data frame from R to the C++ code is remarkable, but if the data frame has n columns, is the current thinking that this data should be split up into n separate (C++) vectors before being used? The response to my previous question on making use of a