Run R Scripts

R scripts can be executed like any other script (OML, Tcl, and Python) by pressing the Run button. Similarly, you can interrupt them by pressing the Stop button.

Run R Scripts

It is important to note how the R interpreter is accessed from Compose. When Compose starts, only the OML interpreter is loaded. The Python and R interpreters are only loaded “on demand”.

To access the R interpreter:
  1. Select File > New > R script OR File > Load and select an existing R script.
By selecting an R script, the R interpreter (as defined by the R_HOME environment variable) is loaded and the R Command Window is displayed. Use the View menu to show or hide the RCommand Window.