Re: [Rcpp-devel] Compile Error with Rcpp sugar all

2013-05-15 Thread Dirk Eddelbuettel
On 15 May 2013 at 21:44, Benjamin Ward (ENV) wrote: | Thanks Dirk, my apologies I think I'll keep it to this list for future Rcpp questions. I've updated my SO question now I've done as you suggest with .is_true() but I'll keep this question there from now on, and any new questions in future he

Re: [Rcpp-devel] Compile Error with Rcpp sugar all

2013-05-15 Thread Benjamin Ward (ENV)
ly heads! Best, Ben. From: Dirk Eddelbuettel [[email protected]] Sent: 15 May 2013 12:10 To: Dirk Eddelbuettel Cc: Benjamin Ward (ENV); [email protected] Subject: Re: [Rcpp-devel] Compile Error with Rcpp sugar all On 15 May 2013 at 05:55, Dir

Re: [Rcpp-devel] Compile Error with Rcpp sugar all

2013-05-15 Thread Dirk Eddelbuettel
On 15 May 2013 at 05:55, Dirk Eddelbuettel wrote: | | On 15 May 2013 at 08:19, Benjamin Ward (ENV) wrote: | | Hi all, | | | | I'm having problem with some code I hope you can help illuminate: [...] | I saw your post on SO, and the decent vectorised non-Rcpp solution you get | thanks to user flod

Re: [Rcpp-devel] Compile Error with Rcpp sugar all

2013-05-15 Thread Dirk Eddelbuettel
On 15 May 2013 at 08:19, Benjamin Ward (ENV) wrote: | Hi all, | | I'm having problem with some code I hope you can help illuminate: | | I've written some code originally to speed up and R function, but now really | for my own education: | | It's supposed to remove all columns of a matrix contai

[Rcpp-devel] Compile Error with Rcpp sugar all

2013-05-15 Thread Benjamin Ward (ENV)
Hi all, I'm having problem with some code I hope you can help illuminate: I've written some code originally to speed up and R function, but now really for my own education: It's supposed to remove all columns of a matrix containing identical values ( a big one!): #include #include using na