use RVector type rather than raw pointers
Merge branch 'gh-pages' of github.com:jjallaire/rcpp-gallery into gh-pages