Environment
The Environment tab shows every variable in your R session at a glance, with names, types, sizes and value previews, all updated in real time.
Your variables, at a glance
Variables you create in the Console or Editor show up here automatically, right after you create them.




Each row shows the variable’s name, class (like data.frame or numeric), memory size, and a short preview of its contents.
Variable groups
Variables are grouped by R type.
| Group | Holds |
|---|---|
| Data Frames | data.frame, tibble and data.table objects |
| Matrices | matrix and array types |
| Lists | Nested list structures |
| Functions | Any functions you have defined |
| Values | Everything else, such as vectors, scalars, strings and logicals |
If you have added any variables to your watch list (more on that below), they appear at the very top in their own “Watched” section, regardless of type.
Inspecting a variable in detail
Tap any variable to open a detail sheet. What you see depends on the type.
Data frames show all columns with types and sample values, a preview of the first 10 rows, and an “Open in Data Frame Viewer” button for a full scrollable table.
Vectors and scalars show the full value (up to 15 digits of precision), or a summary and the first 20 elements for longer vectors.
Lists show the str() output and a preview of each element.
Functions show the signature and body.
Other objects, such as a model from lm(), a formula or an environment, are described with str() in a scrolling block.
Every detail view has Copy as R Code. Tap View Code for the dput() output, to recreate or share the variable. Over 512 KB, the sheet suggests running dput() in the Console instead.
Unusual names, such as `sales 2024`, work everywhere, and the code shown quotes them with backticks.
















The Variable Details sheet adapts to the type of variable you tap.
- A data frame shows every column with its type and sample values, plus a preview of the first rows
- A numeric vector shows a summary and the first elements
- A list shows its
str()-style structure and a preview of each element - A function shows its signature (arguments) and its body
Column details
In the Data Frame Viewer, tap any column header for a column detail sheet. It holds:
- A distribution chart, a histogram for numeric columns and a bar chart for categorical or logical ones.
- Summary statistics for numeric columns, with min, max, mean and median.
- Value counts for categorical columns, with the top values and their frequencies.
- An NA count, shown prominently if the column has missing values.
















Filtering and sorting
The column detail sheet also filters and sorts.
| Column | Control |
|---|---|
| Numeric | Set a min/max range to filter rows. Negative numbers and your locale’s decimal separator work. Apply Filter stays disabled until the range is valid. |
| Categorical | Search the values and check the ones to keep, with “Select All” and “Deselect All”. |
| Logical | Toggle the values to show (TRUE, FALSE, NA). |
| Any | Tap ascending or descending to sort the whole data frame by that column. |
Apply Filter updates the viewer. Filters and sorts apply together.




R does the filtering, sorting and searching, 100 rows at a time, so large data frames open quickly. The sort is R’s own order(), so a text column of numbers sorts as text, “10” before “9”. Convert it with as.numeric() for numeric order. A page that fails to load can be retried.
The Data Frame Viewer
- Row names. A data frame’s own row names fill the first column, so
mtcarslists its cars. Otherwise the first column is each row’s number, which stays with the row when you filter or sort. - Search. It finds rows whose row name or any cell contains what you type, ignoring case. Missing values match “NA”.
- Changes in R. If the number of rows or columns changes in R while the viewer is open, it reloads with your filters and says why.
- Export. The share button’s Export as CSV saves the whole data frame to the current project and opens the share sheet. With a filter or sort applied and no search, Export Current View as CSV saves only the rows shown, in order. Copy View as R Code copies code that selects the same rows.
With VoiceOver, column headers read their name, type, sort and filter state, and cells name their row and column (“Mazda RX4, mpg, 21”) and offer Copy Value.
Comparing data frames
Choose Compare Data Frames in the Environment … menu, pick two data frames (with exactly two, they are preselected), and tap Compare.
Rows are compared by position, up to 1,000 of each, and columns by name. A changed value shows the new one over the old, struck through. Rows and columns in only one data frame are marked added or removed, and a column whose type changed is flagged. Changes only hides unchanged rows. VoiceOver reads each change, as in “changed from q to Q”.








Quick actions with long press
Long-press any variable (or right-click on iPad) for a context menu of quick actions:
- Summary runs
summary()and shows the result in a popup - Structure runs
str()to show the internal structure - Head shows
head()output, the first few rows or elements - Print runs
print()for the full output - Plot draws a quick plot of the variable, which appears in the Plots tab




Watching variables
Add variables to your watch list to pin them at the top of the Environment. Useful for running totals or data frames you are building incrementally.
To watch a variable, swipe right on it and tap Watch. You will see a small star badge appear next to the name. To stop watching, swipe right again and tap Unwatch, or use the long-press menu.
You can clear the entire watch list at once from the menu (the ... button in the toolbar).












Searching and filtering
Use the search bar to filter variables by name. The list narrows as you type.




Deleting variables
Swipe left on a variable and tap Delete to rm() it. webRios asks first, and says if it fails.
To remove everything, tap the menu (...) and choose Clear Environment. This clears .GlobalEnv entirely. A confirmation prompt appears first.




The Packages tab
The segmented control at the top also has a Packages tab showing your installed R packages. See the Packages guide for details.




Pull down on the list to refresh manually, or tap Refresh in the menu.