Starting RStat With Data Loaded

How to:

You can pass any data generated by Report Painter directly into RStat. You can develop your data, join various data sources, build virtual fields, and create data sets to pass to RStat for modeling activities. Run to RStat extracts the data defined within your report and loads it directly into RStat. Within each report, you can customize the name of the hold file to be created and the path where it should be placed. You can customize this for every FEX or run with the defaults.

There are several RStat specific options available from the Model toolbar in Report Painter, such as Run RStat and RStat Model Configuration. The following image shows the Report Painter window.

Report Painter window


Top of page

x
Procedure: How to Use a Model Configuration

Model configuration allows you to name the hold file that will be used to pass the model data from Report Painter into RStat and define the path where the hold file should be placed. You can set your own hold path default to be used in all FEXs. The model configuration settings are saved in the FEX when you customize them and each time you execute Run to RStat.

  1. Click the RStat Model Configuration RStat Model Configuration button button on the toolbar.

    The RStat Model Configuration dialog box opens, as shown in the following image.

    Model Configuration dialog box

  2. Define the Hold File Name. The default name is HOLD. To retain the hold file for further access, define a file name that is unique to this data extract.
  3. Define the Hold File Path. Set the Hold File Path to be used for this FEX to the app path where you will be performing your modeling work. This will initially be set to the default path for your Developer Studio configuration.
  4. Click Default to set the currently defined Hold File Path for this FEX to the default to be used for all FEXs. You can always overwrite the default for each individual FEX.

Top of page

x
Procedure: How to Use Run to RStat

To use Run to RStat, click the Run to RStat Run to RStat button button on the toolbar to pass the current data selection to RStat.

RStat opens with the data that you specified. An example of this data is shown in the following image. Notice that the title bar displays the name of the hold data file you specified, the data type is indicated as a .CSV file, the file name is identified within the Filename control, and the fields within your data are displayed in the Variable grid.

RStat window


WebFOCUS