Displaying 1 result from an estimated 1 matches for "setintsxp".
2006 Apr 25
1
protection needed?
...nd out by looking into the R sources but didn't find
something similar.
It's about the variable _skipLines in the call "function ReadXls(
_file, _sheet, _type, _header, _colHeader, _skipLines: pSExp ): pSExp;
cdecl;".
I did:
skipLines:= riInteger( riCoerceVector( _skipLines, setIntSxp ) )[0];
but am unsure if I would have to something along:
skipInt:= riProtect( riCoerceVector( _skipLines, setIntSxp ) );
skipLines:= riInteger( skipInt )[0];
riUnprotect( 1 );
According to the manual the second is probably more appropriate but as
I found some places in the R sources...