PyCharm
 
Get PyCharm

Run and debug R scripts

Last modified: 11 February 2024

The Variables tab of the R console helps you analyze the values of the variables during script execution. The icon on the left of each variable indicates its type:

  • array: array

  • primitive: primitive

  • value: object

  • table-view: table

You can execute your R files as a runnable process, job. Jobs are shown in a separate tab in the R console

You can debug your R script to detect any errors in the code.

To execute or debug a code fragment, select the fragment and press Run selection or Debug selection. When running code fragments, mind code dependencies. All variables used in the executed fragments must be initialized.