[Rcpp-devel] translate r to rcpp

Dirk Eddelbuettel edd at debian.org
Thu Oct 5 14:55:46 CEST 2017

On 5 October 2017 at 12:43, rihab boubakri wrote:
| 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]]
|      }
|     }

What have you tried?  What failed?  What error did you get?  What result were
you expecting?

Most of us have real work to do so asking us for free code writing service is
a wee bit much.


http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org

More information about the Rcpp-devel mailing list