This function can be used to control (for the current device) whether the user is prompted before starting a new page of output.
If the current device is the null device, this will open a graphics device.
The default argument just returns the current setting and does not change it.
The default value when a device is opened is taken from the
The precise circumstances when the user will be asked to confirm a new
page depend on the graphics subsystem. Obviously this needs to be an
interactive session. In addition ‘recording’ needs to be in
operation, so only when the display list is enabled (see
dev.control) which it usually is only on a screen device.
The current prompt setting before any new setting is applied.
ask is logical.