<div dir="ltr">I just recently updated to the new version of  R and Rcpp (I don't recall the previous version of Rcpp that I was using, but it was several months old; just updated from R 2.15.2 to 2.15.3). Anyway, previously I had no problems but now whenever I try to something akin to:<div>

<br></div><div style>some_matrix(i,_) = some_vector;</div><div style><br></div><div style>I get a ton of printouts, one for every element of some_matrix. I was able to trace the issue to the MatrixRow.h file, and in particular line 168 (<a href="http://dirk.eddelbuettel.com/code/rcpp/html/MatrixRow_8h_source.html">http://dirk.eddelbuettel.com/code/rcpp/html/MatrixRow_8h_source.html</a>), which I have included below:</div>

<div style><br></div><div style>166  <span class="" style="font-size:13px;color:rgb(0,128,0);font-family:monospace,fixed;line-height:13px;white-space:pre-wrap;background-color:rgb(251,252,253)">inline</span><span style="font-size:13px;color:rgb(0,0,0);font-family:monospace,fixed;line-height:13px;white-space:pre-wrap;background-color:rgb(251,252,253)"> </span><span class="" style="font-size:13px;color:rgb(96,64,32);font-family:monospace,fixed;line-height:13px;white-space:pre-wrap;background-color:rgb(251,252,253)">int</span><span style="font-size:13px;color:rgb(0,0,0);font-family:monospace,fixed;line-height:13px;white-space:pre-wrap;background-color:rgb(251,252,253)"> </span><a class="" href="http://dirk.eddelbuettel.com/code/rcpp/html/classMatrixRow.html#a6df72f49acd56da5d2c7f5b02b943cd1" style="font-size:13px;color:rgb(70,101,162);text-decoration:none;font-family:monospace,fixed;line-height:13px;white-space:pre-wrap;background-color:rgb(251,252,253)">get_parent_index</a><span style="font-size:13px;color:rgb(0,0,0);font-family:monospace,fixed;line-height:13px;white-space:pre-wrap;background-color:rgb(251,252,253)">(</span><span class="" style="font-size:13px;color:rgb(96,64,32);font-family:monospace,fixed;line-height:13px;white-space:pre-wrap;background-color:rgb(251,252,253)">int</span><span style="font-size:13px;color:rgb(0,0,0);font-family:monospace,fixed;line-height:13px;white-space:pre-wrap;background-color:rgb(251,252,253)"> </span><a class="" href="http://dirk.eddelbuettel.com/code/rcpp/html/RcppGibbs_8R.html#acb559820d9ca11295b4500f179ef6392" style="font-size:13px;color:rgb(70,101,162);text-decoration:none;font-family:monospace,fixed;line-height:13px;white-space:pre-wrap;background-color:rgb(251,252,253)">i</a><span style="font-size:13px;color:rgb(0,0,0);font-family:monospace,fixed;line-height:13px;white-space:pre-wrap;background-color:rgb(251,252,253)">)</span><span class="" style="font-size:13px;color:rgb(0,128,0);font-family:monospace,fixed;line-height:13px;white-space:pre-wrap;background-color:rgb(251,252,253)"> const </span><span style="font-size:13px;color:rgb(0,0,0);font-family:monospace,fixed;line-height:13px;white-space:pre-wrap;background-color:rgb(251,252,253)">{ </span></div>

<div style>167        <a class="" href="http://dirk.eddelbuettel.com/code/rcpp/html/debug_8h.html#af50e920ce763c60d7cd54d164d80e6fd" style="color:rgb(70,101,162);font-family:monospace,fixed;font-size:13px;line-height:13px;white-space:pre-wrap;background-color:rgb(251,252,253)">RCPP_DEBUG_4</a><span style="color:rgb(0,0,0);font-family:monospace,fixed;font-size:13px;line-height:13px;white-space:pre-wrap;background-color:rgb(251,252,253)">( </span><span class="" style="color:rgb(0,32,128);font-family:monospace,fixed;font-size:13px;line-height:13px;white-space:pre-wrap;background-color:rgb(251,252,253)">"MatrixRow<%d>[%p]::get_parent_index(%d) = %d"</span><span style="color:rgb(0,0,0);font-family:monospace,fixed;font-size:13px;line-height:13px;white-space:pre-wrap;background-color:rgb(251,252,253)">, RTYPE, </span><span class="" style="color:rgb(0,128,0);font-family:monospace,fixed;font-size:13px;line-height:13px;white-space:pre-wrap;background-color:rgb(251,252,253)">this</span><span style="color:rgb(0,0,0);font-family:monospace,fixed;font-size:13px;line-height:13px;white-space:pre-wrap;background-color:rgb(251,252,253)">, i, i*</span><a class="" href="http://dirk.eddelbuettel.com/code/rcpp/html/classMatrixRow.html#a0fb5b0b4294a7faf7be6a1dd2c7d522f" style="color:rgb(70,101,162);text-decoration:none;font-family:monospace,fixed;font-size:13px;line-height:13px;white-space:pre-wrap;background-color:rgb(251,252,253)">parent_nrow</a><span style="color:rgb(0,0,0);font-family:monospace,fixed;font-size:13px;line-height:13px;white-space:pre-wrap;background-color:rgb(251,252,253)">)</span><span style="color:rgb(0,0,0);font-family:monospace,fixed;font-size:13px;line-height:13px;white-space:pre-wrap;background-color:rgb(251,252,253)"><br>

</span></div><div style><span style="color:rgb(0,0,0);font-family:monospace,fixed;font-size:13px;line-height:13px;white-space:pre-wrap;background-color:rgb(251,252,253)">168    Rprintf( </span><span class="" style="color:rgb(0,32,128);font-family:monospace,fixed;font-size:13px;line-height:13px;white-space:pre-wrap;background-color:rgb(251,252,253)">"MatrixRow::get_parent_index(int = %d), parent_nrow = %d >> %d\n"</span><span style="color:rgb(0,0,0);font-family:monospace,fixed;font-size:13px;line-height:13px;white-space:pre-wrap;background-color:rgb(251,252,253)">, i, parent_nrow, i*parent_nrow ) ;</span><span style="color:rgb(0,0,0);font-family:monospace,fixed;font-size:13px;line-height:13px;white-space:pre-wrap;background-color:rgb(251,252,253)"><br>

</span></div><div style><span style="color:rgb(0,0,0);font-family:monospace,fixed;font-size:13px;line-height:13px;white-space:pre-wrap;background-color:rgb(251,252,253)">169    </span><span class="" style="font-size:13px;color:rgb(224,128,0);font-family:monospace,fixed;line-height:13px;white-space:pre-wrap;background-color:rgb(251,252,253)">return</span><span style="font-size:13px;color:rgb(0,0,0);font-family:monospace,fixed;line-height:13px;white-space:pre-wrap;background-color:rgb(251,252,253)"> i * </span><a class="" href="http://dirk.eddelbuettel.com/code/rcpp/html/classMatrixRow.html#a0fb5b0b4294a7faf7be6a1dd2c7d522f" style="font-size:13px;color:rgb(70,101,162);text-decoration:none;font-family:monospace,fixed;line-height:13px;white-space:pre-wrap;background-color:rgb(251,252,253)">parent_nrow</a><span style="font-size:13px;color:rgb(0,0,0);font-family:monospace,fixed;line-height:13px;white-space:pre-wrap;background-color:rgb(251,252,253)"> ;</span></div>

<div style><span style="font-size:13px;color:rgb(0,0,0);font-family:monospace,fixed;line-height:13px;white-space:pre-wrap;background-color:rgb(251,252,253)"><br></span></div><div style><span style="font-size:13px;color:rgb(0,0,0);font-family:monospace,fixed;line-height:13px;white-space:pre-wrap;background-color:rgb(251,252,253)">However, I have no idea how to read that. Am I doing something wrong? What is causing this printout? How can I avoid getting it?</span></div>

<div style><span style="font-size:13px;color:rgb(0,0,0);font-family:monospace,fixed;line-height:13px;white-space:pre-wrap;background-color:rgb(251,252,253)"><br></span></div><div style><span style="font-size:13px;color:rgb(0,0,0);font-family:monospace,fixed;line-height:13px;white-space:pre-wrap;background-color:rgb(251,252,253)">Thanks,</span></div>

<div style><span style="font-size:13px;color:rgb(0,0,0);font-family:monospace,fixed;line-height:13px;white-space:pre-wrap;background-color:rgb(251,252,253)">-Kevin</span></div><div style><span style="font-size:13px;color:rgb(0,0,0);font-family:monospace,fixed;line-height:13px;white-space:pre-wrap;background-color:rgb(251,252,253)"><br>

</span></div><div style><font color="#000000" face="monospace, fixed"><span style="line-height:13px;white-space:pre-wrap">Am</span></font></div></div>