Re: [Rcpp-devel] How do I set the compiler flags for sourceCpp

2013-08-26 Thread Dirk Eddelbuettel
Hi Molly, On 26 August 2013 at 19:40, Molly Davies wrote: | Hello, | How can I see what the exact compiler flags are when using 'sourceCpp'?  I'm | trying to track down a crashing bug, and would like to be sure that all | possible warnings are turned on. Use the verbose=TRUE option to sourceC

[Rcpp-devel] How do I set the compiler flags for sourceCpp

2013-08-26 Thread Molly Davies
Hello, How can I see what the exact compiler flags are when using 'sourceCpp'? I'm trying to track down a crashing bug, and would like to be sure that all possible warnings are turned on. -Molly ___ Rcpp-devel mailing list [email protected]

Re: [Rcpp-devel] Non-contiguous submatrix

2013-08-26 Thread Simon Zehnder
Thanks Dirk! That looks interesting! I will check which solution performs better in my application! Best Simon On Aug 26, 2013, at 1:24 PM, Dirk Eddelbuettel wrote: > > On 26 August 2013 at 12:19, Simon Zehnder wrote: > | Dear Rcpp::Users and Rcpp::Devels, > | > | I am right now working on

Re: [Rcpp-devel] Non-contiguous submatrix

2013-08-26 Thread Dirk Eddelbuettel
On 26 August 2013 at 12:19, Simon Zehnder wrote: | Dear Rcpp::Users and Rcpp::Devels, | | I am right now working on a relabeling algorithm where I have a function | taking a permutation matrix of all permutations of the labels. Inside the | function the values should be permuted in respect to a r

Re: [Rcpp-devel] Non-contiguous submatrix

2013-08-26 Thread Simon Zehnder
Hi Romain, thanks for the quick reply! This is an answer I can work with! Best Simon On Aug 26, 2013, at 12:33 PM, Romain Francois wrote: > Le 26 août 2013 à 12:19, Simon Zehnder a écrit : > >> Dear Rcpp::Users and Rcpp::Devels, >> >> I am right now working on a relabeling algorithm where

Re: [Rcpp-devel] Non-contiguous submatrix

2013-08-26 Thread Romain Francois
Le 26 août 2013 à 12:19, Simon Zehnder a écrit : > Dear Rcpp::Users and Rcpp::Devels, > > I am right now working on a relabeling algorithm where I have a function > taking a permutation matrix of all permutations of the labels. Inside the > function the values should be permuted in respect to

[Rcpp-devel] Non-contiguous submatrix

2013-08-26 Thread Simon Zehnder
Dear Rcpp::Users and Rcpp::Devels, I am right now working on a relabeling algorithm where I have a function taking a permutation matrix of all permutations of the labels. Inside the function the values should be permuted in respect to a row of this matrix. In R I would use the following command