Rgetstr
Rgetstr |
Purpose
Synopsis
function Rgetstr(cmd:string):string
Argument
cmd
|
Statements to evaluate
|
Return value
The result of the evaluation as a string.
Example
The following example retrieves the version string of R into the variable
strvar:
strvar:=Rgetstr('R.version.string')
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 string "NA" is returned. The returned value is first converted to
string within R.
Related topics