Part of Using RStudio in the NHS England Secure Data Environment
RStudio main screen and features
When you have logged into RStudio, the RStudio main screen will be displayed.
The window on the left of the RStudio main screen shows:
Console
This window is the standard R Console window. This is where you type in code and results are returned. The window on the right of the RStudio main screen shows:
Environment
A record of variables you have defined, or data you have saved, during an R session are stored as ‘objects' in your ‘global environment’.
History
A record of all the commands you have used in the current R session(s).
Connections
Any connections you have established. This tab is used to connect RStudio to Databricks. Please refer to the Configuring your Databricks connection section for information.
Files/Plots/Packages/Help/Viewer
This window on the bottom right of the RStudio main screen is primarily used for displaying files, packages and plots (graphs) and for accessing the help system.
Memory usage
You can view the amount of memory you are currently using from the RStudio main screen. A report showing the percentage of memory in use and the memory you are currently using by R objects, by session and by system is also available.
Current memory usage
To view the current memory being used, select the Environment tab from the RStudio main menu.
The current memory usage will be displayed.
Memory usage statistics
To view your memory usage statistics:
- Select the Environment tab from the RStudio main menu.
- Click on the down arrow to the right of the current memory usage field.
- Select Memory Usage Report from the drop-down menu.
The Memory Usage Report will be displayed.
Customising RStudio
You can customise how RStudio works and how it displays results using ‘Global Options’.
- Select Tools.
- Select Global Options from the drop-down list.
The Options window will be displayed.
Refer to the Posit Support: Customizing RStudio website for information on the various settings.
Last edited: 12 February 2025 12:32 pm