Initializing help system before first use

Rgetint

Purpose
Get the integer value of an R expression.
Synopsis
function Rgetint(cmd:string):integer
Argument
cmd 
Statements to evaluate
Return value
The result of the evaluation as an integer.
Example
The following example retrieves the length of the R entity vec into variable intvar:
 intvar:=Rgetint('length(vec)')
Further information
If cmd contains more than one statement, the returned value is the result of the last one. If the results is NA, then the R NA_Integer value (-2 31) is returned. The returned value is first converted to integer within R.
Related topics

© 2001-2022 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.