RPGM 2.0 Docs

R scripts (.r file)

These files contain R code. It will also contain other instructions:

  • The code to edit the Excel files ;
  • The code to dynamically edit a .pgui step ;
  • The code to manage a progress bar ;
  • The code to manage the sequence of the program.

The following picture gives an example of a R script:

R Code Editor

Functions and keywords are colored. Pressing CTRL+R with some R code selected will execute it in the console. Also, pressing F1 with the cursor on a keyword or a R function will open the R help page of the function.

The editor has an auto-completion feature which shows up after three characters.
All recognized functions which start with the letters written will show up like below:


By pressing the Tab key, we select the function and then its parameters are displayed.