spssRGraphics.SetOutput Function (R)
spssRGraphics.SetOutput("value"). Controls whether graphical output from R is displayed in the IBM® SPSS® Statistics Viewer. The value of the argument is a quoted string: "ON" to display graphical output from R, "OFF" to suppress the display of graphical output from R. The default is "ON".
- It is important to note the interaction of the
spssRGraphics.SetOutputfunction and the spsspkg.SetOutput function. Withspsspkg.SetOutput("ON")you can turn off display of graphics withspssRGraphics.SetOutput("OFF").spsspkg.SetOutput("OFF"), however, applies to all output and overridesspssRGraphics.SetOutput("ON"). - The
spssRGraphics.SetOutputfunction has no effect when running IBM SPSS Statistics from R.
Example
spssRGraphics.SetOutput("OFF")