Re: [R] building a quicksort function in rcpp

2015-07-25 Thread peter dalgaard
> On 24 Jul 2015, at 17:22 , Martin Tully wrote: > > Hi I am using RCPP to build a C++ function for quicksort called qsort. > This function is compiled and loaded through the cxxfunction in R > I am getting the message in R error: no matching function for call to > 'qsort(int*&)' The code is bel

Re: [R] building a quicksort function in rcpp

2015-07-25 Thread Uwe Ligges
Actually sort() is already there Best, Uwe Ligges On 24.07.2015 17:22, Martin Tully wrote: Hi I am using RCPP to build a C++ function for quicksort called qsort. This function is compiled and loaded through the cxxfunction in R I am getting the message in R error: no matching function fo

[R] building a quicksort function in rcpp

2015-07-24 Thread Martin Tully
Hi I am using RCPP to build a C++ function for quicksort called qsort. This function is compiled and loaded through the cxxfunction in R I am getting the message in R error: no matching function for call to 'qsort(int*&)' The code is below. It will not run for me and I was wondering if you could he