Hi,<div>I am trying to translate an R code to cpp,</div><div>in R I have a structure like this:</div><div>A=list();</div><div>for(i in 1:n){</div><div> A[[i]]=list();</div><div> for(j in 1:m){</div><div> A[[i]][[j]]=rep(0, m);</div>
<div> }</div><div>}</div><div><br></div><div>I want to define this structre in Rcpp not to get it from R with a function</div><div>I really appreciate if you help me</div><div>Thanks </div><div><br></div><div><br clear="all">
<br>-- <br><span style="font-family:'comic sans ms',sans-serif"><font face="tahoma,sans-serif">Fatemeh Riahi</font><br></span><br>
</div>