search for: skipint

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

Did you mean: skipcnt
2006 Apr 25
1
protection needed?
...r. 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 where no protection was made, I decided to ask. Thanks a lot ! -- Rega...