Re: [Rcpp-devel] Yet another instance of "function 'dataptr' not provided ..."

2014-03-25 Thread Romain François
You need to import something, anything from Rcpp’s namespace. Sent you a pull request. Le 25 mars 2014 à 20:17, Douglas Bates a écrit : > I must have been away from writing R/Rcpp code for too long. > > I started off trying to reproduce a calculation that is, literally, a > one-liner in Juli

[Rcpp-devel] Yet another instance of "function 'dataptr' not provided ..."

2014-03-25 Thread Douglas Bates
I must have been away from writing R/Rcpp code for too long. I started off trying to reproduce a calculation that is, literally, a one-liner in Julia. See http://nbviewer.ipython.org/gist/dmbates/9746197 Now admittedly the calculation of the sums of the n choose k possible subsets of size k fro