RData Viewer
A VS Code extension to view .rds and .RData files directly in the editor using an interactive data grid.
Features
- View RDS files: Open
.rds files containing R data frames
- View RData files: Open
.RData files with multiple objects and switch between them
- Interactive grid: Powered by Perspective.js - sort, filter, and explore your data
- No R installation required: Uses webR (WebAssembly) to read R data files
- Theme support: Glassmorphism UI that adapts to your VS Code theme
Usage
- Open any
.rds, .RDS, .RData, .RDATA, or .rdata file
- The data will load automatically in an interactive grid
If you have the R extension installed, VS Code may open RData files as text first. In that case:
- Click the table icon in the editor title bar, or
- Right-click the file in Explorer → Open with RData Viewer
Supported Data Types
- Data frames (displayed as interactive grid)
- Matrices and lists (automatically converted to data frame)
For .RData files with multiple objects, use the dropdown in the toolbar to switch between them.
Limitations
- Large files are limited to 100,000 rows for performance
- Only data frame-like objects can be displayed (vectors and complex nested lists are not yet supported)
- First load may take a few seconds while webR initializes
Requirements
- VS Code 1.85.0 or higher
- Internet connection (for loading webR and Perspective.js from CDN on first use)
License
MIT
| |