Dirk, thanks for your quick response. Here's the command:
> src <- '
> + Rcpp::NumericVector xa(a);
> + Rcpp::NumericVector xb(b);
> + int n_xa = xa.size(), n_xb = xb.size();
> +
> + Rcpp::NumericVector xab(n_xa + n_xb - 1);
> + for (int i = 0; i < n_xa; i++)
> + for (int j = 0; j < n_xb; j++)
> +
Hi Henry,
On 20 March 2011 at 20:11, Henry Bee wrote:
| Hi Dirk,
|
| I've been developing with R for the past year and came across your wonderful
| presentation slides on Rcpp a few months ago. I am now turning to your Rcpp
| package to translate the slowest portion of my code to C/C++.
Great,
Hi Dirk,
I've been developing with R for the past year and came across your wonderful
presentation slides on Rcpp a few months ago. I am now turning to your Rcpp
package to translate the slowest portion of my code to C/C++.
I am testing the first example provided on page 6 in
your Rcpp-introducti
On 21 March 2011 at 00:59, nandan amar wrote:
| I was searching for SVN source link for rinside
| I could only get tar.gz from
| http://cran.r-project.org/web/packages/RInside/index.html
| I placed the code as u did , but i got following error
|
| amar@amar:~/opt/RInside/inst/examples/standard$ m
I was searching for SVN source link for rinside
I could only get tar.gz from
http://cran.r-project.org/web/packages/RInside/index.html
I placed the code as u did , but i got following error
amar@amar:~/opt/RInside/inst/examples/standard$ make
R was not built as a library
R was not built as a libra