search for: debug_getdim

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

2004 Jun 22
3
[Q] GET_DIM() crash on Windows only
...Requires R 1.8.1 or later") } library.dynam("getdim", pkgname, libname) } src/getdim.c ------------ #include <R.h> #include <Rdefines.h> #include <R_ext/PrtUtil.h> int GetMatrixDimen(SEXP vntX, int *nrow, int *ncol) { SEXP vntXdim; int nX; #ifdef DEBUG_GETDIM REprintf("In GetMatrixDimen()...\n"); #endif /**** Code crashes here on Windoze ******/ PROTECT(vntXdim = GET_DIM(vntX)); #ifdef DEBUG_GETDIM REprintf("\tgot dimension object\n"); #endif nX = GET_LENGTH(vntXdim); #ifdef DEBUG_GETDIM REprintf("\tgot len...