t of C functions R_qsort_I and R_qsort_int_I
is not modified
R_ext/Utils.h:void R_qsort_int_I(int *iv, int *II, int i, int j);
The last 2 arguments are int, not int*. .C() passes pointers to vectors so you
cannot call this function directly from .C().
-Bill
On Thu, Apr 15, 2021 at 3:15 PM
Hi all.
Reading the documentation of these two functions
https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Utility-functions
"The ..._I() versions also return the sort.index() vector in I."
I can't find anything in the documentation about sort.index(), but I'm guessing
that I is the in
2 matches
Mail list logo