Re: [Rcpp-devel] Rcpp compile question

2011-03-22 Thread Henry Bee
Hi Douglas, I assume I do not need to do anything with R after installing RTools? I reinstalled RTools and restarted R and got the same errors. Henry On Tue, Mar 22, 2011 at 12:24 PM, Douglas Bates wrote: > On Tue, Mar 22, 2011 at 2:16 PM, Henry Bee wrote: > > Hi Christian, >

Re: [Rcpp-devel] Rcpp compile question

2011-03-22 Thread Henry Bee
Hi Christian, Thanks for the source file. Below are the full results as you requested. It's giving the same error as before. Is 64-bit R supported? Henry > source('tmp.R', verbose = TRUE) 'envir' chosen: encoding = "native.enc" chosen --> parsed 3 expressions; now eval(.)ing them: eval(expr

Re: [Rcpp-devel] Rcpp compile question

2011-03-20 Thread Henry Bee
i++) > + for (int j = 0; j < n_xb; j++) > + xab[i + j] += xa[i] * xb[j]; > + return xab; > ' + > > fun <- cxxfunction( > + signature(a="numeric", b="numeric"), > + src, plugin="Rcpp") On Sun, Mar 20, 2011 at 8:30 PM, Dirk Eddelbuettel

[Rcpp-devel] Rcpp compile question

2011-03-20 Thread Henry Bee
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