This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @title A NumericVector is Really a Pointer | |
* @author G. Grothendieck completing Michael Meyer's post at https://stat.ethz.ch/pipermail/r-help/2015-August/431645.html | |
* @license GPL (>= 2) | |
* @tags NumericVector pointer | |
* @summary Shows that a NumericVector is a pointer. | |
*/ | |
// To run: library(Rcpp); sourceCpp("leftShift.cpp") |