search for: size1_r

Displaying 1 result from an estimated 1 matches for "size1_r".

Did you mean: size1
2012 Nov 09
3
Crash - cause 'memory not mapped'
...; #include <opencv/cv.h> #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv/highgui.h> #include <opencv/cv.h> #include <R.h> #include <Rinternals.h> #include <Rmath.h> extern "C" { SEXP FiltroGaus(SEXP size1_r, SEXP size2_r, SEXP sigma_r) { int size1 = INTEGER(size1_r)[0]; int size2 = INTEGER(size2_r)[0]; double sigma = REAL(sigma_r)[0]; } } The compilation go without errors but when in R i type .C("FiltroGaus",3,3,2) the message is: Errore: INTEGER() can only be applied to...