Options - R Integration

In the Options dialog box, select the R Integration tab to view what version of R is installed and whether it is supported, and to access options to set default actions.
Option Description
R Integration Options
Display suggestion to install/register R if Statistica cannot detect R's presence When this check box is selected, when Statistica starts, the program detects whether R is installed; if R is not installed, a message is displayed about R integration, with the option to launch a browser to download a supported version of R.
Display R Integration dialog during Statistica startup if R Integration can be enabled When this check box is selected, if a supported version of R is installed on the system, but R integration within Statistica is not enabled, the system displays a message in which you can specify to enable R integration.
Display notice when a newer version of r integration and middleware becomes available When this check box is selected, a message is displayed when a new version of R Integration middleware is available.
Include comments from R script files in the output when supported When this check box is selected, when processing R scripts, comments in the R script are copied to the output file. This check box is selected by default, except for R version 2.13.0, where it is not supported.
Note: Passing data as Statistica spreadsheets to R and retrieving results from R to Statistica require the Statistica Spreadsheet Library (StaSpreadsheet.dll) of the same bitness as R to function. StaSpreadsheet.dll is installed and registered during Statistica installation, so data transfer between 32-bit Statistica and 32-bit R, and 64-bit Statistica and 64-bit R, functions automatically. When trying to use 32-bit Statistica with 64-bit R (or vice versa), StaSpreadsheet of the same bitness as R needs to be installed and registered.

R scripts can be easily executed inside Statistica in the following ways:

  1. Directly from the script: Simply open the R script in Statistica using File > Open, and run.
  2. In a workspace through:
    • SVB style R nodes
    • Code Nodes