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 pre-connect 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, or you want to cancel a long running job. If the server is not processing commands the data will be cleared and any open files closed. If the server is in the middle of a job it will be immediately killed and restarted. This may leave a red server icon in the toolbar, but this will disappear if the mouse hovers over the icon. You will need to re-load any data that you were previously using.

See also

Updated on March 24, 2023

Was this article helpful?