Run Menu Commands


Submit Line

Sends the current line of text as input to Genstat. It may be a command or data (following a READ statement).

Submit to Current Line

Sends the text from the first line to the current line of the window as input to Genstat. This can contain both commands and data (following a READ statement).

Submit From Current Line

Sends the text from the current line to the end of the window as input to Genstat. This can contain both commands and data (following a READ statement).

Submit Selection

Sends the current text selection as input to Genstat. The selection may contain both commands and data (following a READ statement).

Submit Window

Sends the entire contents of the current window as input to Genstat. This lets you load and edit Genstat programs.

Recycle Window

This clears the Output window, then performs a Submit Window on the current window, then brings the Output window to the top of the display. This is for use when developing a Genstat program, to quickly check the effect of each change. If the program is self-contained, with all the commands required to load or generate its data, you should include a STOP statement at the end. This will perform an ENDJOB action, clearing any data, then close all files so that they will be correctly opened next time.

Submit File

This lets you perform a “batch” run of Genstat, taking input from one file and sending output to another. You can also set various other options to preconnect other input and output files, as described in options for batch mode

Submit R Script

This lets you run a script externally in R and read the output back into Genstat. To use this menu R must be installed on your system. The script can either be supplied in a file or you can enter it using the menu. The menu also allows data to be exported to R and imported back to Genstat.

Submit BUGS Script

This lets you run a Bayesian analysis externally in WinBUGS or OpenBUGS and read the output back into Genstat. To use this menu WinBUGS or OpenBUGS must be installed on your system.

Submit Clipboard

Sends the current Clipboard contents to Genstat. This should be text consisting of Genstat commands or data. This provides a shortcut for pasting text from other applications directly into Genstat. Note that this option is disabled when the Clipboard does not contain textual data.

Restart Session

This will clear the Output window and Input Log, close all other windows and restart the server, clearing all data.

Restart Server

This can be used to restart the Genstat server if it has failed for any reason. You will need to re-load any data that you were previously using.

See Also

Updated on November 29, 2017

Was this article helpful?