SPXML output reference
The server returns a simple SPXML string. It is displayed as a structure containing the values for the tags described here.
| Tag | Description |
|---|---|
<SplusDataResult>
|
Top-level tag that contains all of the results and describes the results properties. |
<SplusReturnValue>
|
Contains the actual returned results. The tags of interest in
SplusReturnValue are Vector (in this case, it returned a vector of 1 of type
numeric) and Item, which, in this case, contains the result of
10.
|
<SplusTextOutput>
|
If the property hasTextOutput is true, this section contains any console output from a TERR or open-source R engine, including startup output and output of execution. |
<Code>
|
Contains the actual expression that the server evaluated. |
<SplusError>
|
The error text generated if
hasError is
true.
|
<SplusWarnings>
|
The warning text generated if
hasWarnings is
true.
|
<ResultsDir>
|
The URL of the output file directory. |
Output example
Note: If you do not see the SPXML, right-click your browser window, and then click
View Source.
<SplusDataResult version="1.0" createdBy="uname" serverTime="517" scheduledMillis="1495056534943" prepTime="0"
createdMillis="1495056534943" status="2" serverInstance="servername" scheduled="Wed May 17 14:28:54 PDT 2017"
queueCount="0" percent="0.0" jobId="2" hasWarnings="false" hasTextOutput="true" hasReturnValue="true" hasError="false"
engineTime="390" created="Wed May 17 14:28:54 PDT 2017">
<Code>rnorm</Code>
<SplusReturnValue>
<S-PLUS>
<DisplayOptions decimalPattern="#,##0.00" scientificPattern="0.00E0"/>
<Header>
<Application name="TERR" version="TIBCO Enterprise Runtime for R version 4.3.0 (2017-02-03)"/>
<Timestamp>Wed May 17 14:28:55 2017</Timestamp>
</Header>
<Vector length="5" type="numeric">
<Items>
<Item>30.683991759015</Item>
<Item>28.8184157402977</Item>
<Item>30.5547053242699</Item>
<Item>31.5987635740266</Item>
<Item>31.6968747787955</Item>
</Items>
</Vector>
</S-PLUS>
</SplusReturnValue>
<SplusTextOutput>
<![CDATA[
**** Engine execution output **** **** Engine startup output ***** Cloud Software Group, Inc. Confidential Information Copyright (C)
2011-2017 Cloud Software Group, Inc. ALL RIGHTS RESERVED TIBCO Enterprise Runtime for R version 4.3.0 for Microsoft Windows 64-bit
Type 'help()' for help. Type 'q()' to quit.
]]>
</SplusTextOutput>
<ResultsDir>
http://servername:8080/SplusServer/webdav/results/E0909CAFBCFB94E3/
</ResultsDir>
</SplusDataResult>
- SplusDataResult property reference
<SplusDataResult>is an SPXML tag received and returned by Spotfire Statistics Services. It contains results properties.
Parent topic: Output SPXML string