[Rcpp-devel] dataptr not in Rcpp

Kevin Ushey kevinushey at gmail.com
Mon May 11 05:41:36 CEST 2015


Hi Randall,

`dataptr` just wraps over the R `DATAPTR` macro / function, so you
could just call that instead (although you might need to manually cast
the pointer type to whatever you need)

Kevin

On Sun, May 10, 2015 at 8:39 PM, Randall MacIntosh <rmacintosh at csus.edu> wrote:
> I am trying to run the TAM module in R 2.15.3 so it can be called from
> within SPSS.
> I have Rcpp 0.10.4 installed, but get an error message:
>
>  function 'dataptr' not provided by package 'Rcpp'.
>   TAM runs under R 3.1.1 with Rcpp 0.11.5, but I would like to run it under
> the
>  earlier release, as that is what is required to use it within SPSS.
>  Do you have any suggestions?
>
> Thank you.
>
> _______________________________________________
> Rcpp-devel mailing list
> Rcpp-devel at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel


More information about the Rcpp-devel mailing list