Skip to content
Prev 9479 / 10988 Next

[Rcpp-devel] a variable for loop

Hello, Amina.

Firstly, why are you even passing in a if b contains the proper dimensions.
It's not like you are using a.

Secondly, and more importantly, once you provided the r code, you can see
that this is **EXACTLY** the problem you asked on September 26 of this
year, see
http://lists.r-forge.r-project.org/pipermail/rcpp-devel/2016-September/009369.html,
and the answer I gave on September 27 works here too, see
http://lists.r-forge.r-project.org/pipermail/rcpp-devel/2016-September/009374.html
.

Avi


On Wed, Dec 14, 2016 at 1:46 AM, Amina Shahzadi <aminashahzadi at gmail.com>
wrote:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20161214/99f0b475/attachment-0001.html>