Running RATS Non-Interactively
RATS can be run non-interactively in the same manner as SPSS or SAS. This can be very convenient when you need to run long programs, because you can leave the computer unattended while RATS runs the program. The steps for this process includes writing a command file using your favorite text editor, and the submitting those commands to RATS for evaluation and execution.
The steps you will have to take to run RATS noninteractively vary according to the platform:
On STC PCs:
- Create a command file with an ASCII text editor.
- From Start -->Programs --> Statistics-Math --> WinRATS-32.5.0 -->WinRATS-32.5.0 to launch RATS.
- Put RATS into "batch mode" by selecting the Batch Mode operation from the File Menu.
- Drag the command file from the File Manager and drop it anywhere on the WinRATS application window.
RATS will execute the instructions on the selected file, and save the output in filename.lis where filename is the name (excluding the extension) of the command file, and lis is the batch-mode extension specified in the File-Preferences... dialog box.
On the Research SP system (node aries05):
- Create a command file with a UNIX text editor (e.g. pico, emacs, vi).
- To run RATS non-interactively, type:
rats inputfile > outputfile &
inputfileis the name of the command file from step 1 and
outputfileis the file where you want to store the results of your analysis.