[Rcpp-devel] translate r to rcpp

rihab boubakri rihab92 at outlook.fr
Thu Oct 5 14:43:34 CEST 2017


hello please can any one help me to change that function to rcpp or cxxfunction please

    for(i in 1:length(datafi$p)){
    if(datafi$A[i] != "STOP"){
        datafi$tran[i]=matt[[datafi$p[i+1]]][datafi$A[i],datafi$A[i+1]]
     }
    }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20171005/16e3a77c/attachment.html>


More information about the Rcpp-devel mailing list