
#Dataspell for r code
Execute code with run/debug configurations All variables used in the executed fragments must be initialized. When running code fragments, mind code dependencies. To execute or debug a code fragment, select the fragment and press or. You can temporarily mute all the breakpoints in a project to execute the program without stopping at breakpoints.Ĭlick this button to open the Evaluate Expression dialog. When the button is pressed in the toolbar of the Debug tool window, all the breakpoints in a project are muted, and their icons become grey. Use this button to toggle breakpoints status. Use this action when you need a kind of a temporary breakpoint at a specific line, where program execution should not be interrupted.Ĭlick this button to open the Breakpoints dialog where you can configure R breakpoints behavior. If there are breakpoints set for the lines that should be executed before bringing you to the specified line, the debugger will pause at the first encountered breakpoint. This action is especially useful when you have stepped deep into the methods sequence and need to step out of several methods at once. Thus, if the caret is positioned at the line which has already been executed, the program will be just resumed for further execution, because there is no way to roll back to previous breakpoints.

Actually, there is a temporary breakpoint set for the current line at the caret, which is removed once program execution is paused. If the current line is the last one in the method, execution steps to the line executed right after this method.Ĭlick this button to have the debugger step into the method called at the current execution point.Ĭlick this button to have the debugger step out of the current method, to the line executed right after it.Ĭlick this button to resume program execution and pause until the execution point reaches the line at the current cursor location in the editor. Ĭlick this button to pause program execution.Ĭlick this button to terminate the current process.Ĭlick this button to execute the program until the next line in the current method or file, skipping the methods referenced at the current execution point (if any). When an application is running, this button toggles to. When the current application is stopped at a breakpoint, click this button to resume execution. Use the following icons of the Jobs toolbar: The R script is executed and you can track its execution in the Jobs tab of the R console. You can restrict copying it, copy to the global environment, or copy into a separate variable. Specify the way you want to process the results of the job execution. Open any R file in the editor and click on the R file toolbar. Jobs are shown in a separate tab in the R console Run jobs You can execute your R files as a runnable process, job. The data are added to the global variables and can be accessed from the global environment.

Specify the data set and select the delimiter to preview the data in a tabular form: You can filter out the data in the table, structure the table in pages, and define the amount of rows per each page.Ĭlick on the Variables toolbar to import CSV, TSV, or XLS file. To preview not only a value of a particular variable but its size and the corresponding class click on the Variables toolbar to select required options:Ĭlick a View link to preview the array value in the popup and a View Table link to preview data as a table in the editor. The icon on the left of each variable indicates its type: The Variables tab of the R console helps you analyze the values of the variables during script execution. Select Open after saving checkbox if you want to continue processing the image.Ĭlick in the table view to save the table in a. You can drag the lower-left corner of of the preview area to adjust the image size. Click in the Plots tab to export the plotted content in a.

If the R script involves any JavaScript visualization libraries, the results will be rendered in the Viewer window.Ĭlick to copy the generated plot in the clipboard.

DataSpell also opens the Plots tab of the R Tools window if the script renders any visual content. The R console launches and displays the execution results sent to the standard output. Analyze results in the R console and R Tools windows.
