spsspkg.StartStatistics Function (R)
spsspkg.StartStatistics(hide, show, nfc, nl). Starts a session of IBM® SPSS® Statistics.
- This function starts a session of IBM SPSS Statistics, for use when
driving IBM SPSS Statistics from
R. The function has no effect if a session is already running. Note: The
spsspkg.Submit
function automatically starts a session of IBM SPSS Statistics. - This function has no effect when running R from IBM SPSS Statistics (within program
blocks defined by
BEGIN PROGRAM R-END PROGRAM
). - The optional argument
hide
specifies types of output items that are omitted from generated output. The value is one or more characters that specify the output types to hide. Do not include spaces when multiple types are specified. For example, to hide warnings and text output, specifyhide='WT'
. See the table that follows for the allowed values. - The optional argument
show
specifies types of output items that are included in generated output. The value is one or more characters that specify the output types to show. Do not include spaces when multiple types are specified. For example, to show notes tables and output titles, specifyshow='NE'
. See the table that follows for the allowed values. - The optional argument
nfc
specifies whether footnotes and captions are included in the generated output for tables. The value is a Boolean and the default isTRUE
, which specifies that footnotes and captions are included in the output. - The optional argument
nl
specifies whether all layers of a multi-layer table are included in the generated output. The value is a Boolean and the default isTRUE
, which specifies that all layers are included in the output. The valueFALSE
specifies that only the first layer is included in the output.
Output Item | Description | Value for show or hide argument | Displayed by default? |
---|---|---|---|
Warnings | Warning messages that occurred when the procedure was run | W | Yes |
Note | Information about how the output was created | N | No |
Output title | Title connected to the output of a procedure | E | No |
Page title | Title connected to a page | G | No |
Pivot table | Tabular statistical output | P | Yes |
Text output | Output not displayed in pivot tables | T | Yes |