Your AI assistant, inside RStudio
AiR lives in your Viewer pane - an AI assistant that understands your entire R project alongside a complete data toolkit. Build models, explore data, generate reports, fix errors, and edit code - all without leaving RStudio.
Everything you need, right in RStudio
No context switching. No copy-pasting to ChatGPT. AiR understands your code, your data, and your errors - and works alongside you to fix, build, and explore.
Edit code with natural language
Describe what you want changed and AiR edits your active file directly. Refactor functions, add documentation, restructure code - all shown as a diff you can accept or reject.
- Edits your active file in RStudio directly
- Color-coded diffs with line-by-line changes
- Accept or reject - with undo if you change your mind
- Understands your full project context
| carat | cut | color | clarity | depth | price |
|---|---|---|---|---|---|
| 0.23 | Ideal | E | SI2 | 61.5 | 326 |
| 0.21 | Premium | E | SI1 | 59.8 | 326 |
| 0.23 | Good | E | VS1 | 56.9 | 327 |
| 0.29 | Premium | I | VS2 | 62.4 | 334 |
| 0.31 | Good | J | SI2 | 63.3 | 335 |
Explore your data and environment in real time
AiR syncs with your R session and gives you a live command center for your data. Preview rows, inspect columns, discover correlations, and take action - all while AiR understands every dataframe, file, and variable in your project.
- Live sync with your R environment - every dataframe, column type, and distribution
- Preview actual data rows in a scrollable table
- Column inspector with types, ranges, missing data, and distributions
- Correlations tab - top variable pairs ranked by strength
- One-click Plot, Summarize, Tidy, and Run EDA actions
- Knows your project file structure, active file, and selected code
Clean, transform, and prepare your data
A dedicated workspace for data preparation. Audit your dataset for issues, apply transformations with one click, and chat with a tidyverse expert - all without touching the original data.
- Automatic data quality audit: missing values, outliers, type issues, skewness
- One-click transforms: impute, winsorize, log/sqrt, type conversions
- Built-in tidyverse expert chat for joins, pivots, and custom operations
- Never mutates your original dataset - all work on a safe copy
- Export transforms as a reproducible .R script
- Seamless handoff to Model Builder with your cleaned data
Build and evaluate models interactively
Select a dataset, pick your variables, choose a model type, configure validation, and fit it live in R. Get structured results with metrics, coefficients, and confusion matrices - then an AI interpretation that cites actual values from your output.
- 15 model types: LM, GLM (5 families), ridge, lasso, elastic net, logistic, naive bayes, KNN, decision tree, random forest, SVM, XGBoost, PCA, K-Means, hierarchical clustering
- Supervised & unsupervised modes with interaction terms, stepwise selection, and class imbalance handling
- Cross-validation: K-Fold, Repeated K-Fold, LOOCV - or classic train/test split
- Diagnostic plots, model comparison table, and AI auto-fix for failed code
- AI interpretation cites real values - no generic summaries
- Export the exact R code as a clean, reproducible script
Planning a deep EDA for diamonds (53,940 rows, 10 columns)...
Full analysis reports in seconds
Say /eda and AiR generates a complete R Markdown report - distributions, correlations, statistical tests, and narrative insights. Choose quick, standard, or deep depth.
- Generates complete .Rmd files with visualizations
- Three depth levels: quick overview to full statistical analysis
- AI plans the analysis strategy before generating
- Validates R code and audits insights for accuracy
Errors caught and fixed automatically
When your R Markdown fails to knit or your script throws an error, AiR detects it instantly. It reads the full error output, diagnoses the root cause, and proposes a fix - showing you exactly what changed with a color-coded diff.
- Detects knit failures, console errors, and warnings
- Reads full stack traces and render logs
- Shows exact changes with accept/reject controls
- Iterates if the first fix doesn't work
Up and running in 60 seconds
Three commands. That's all it takes.
Install the R package
Install AiR from GitHub with a single command.
# Install AiR
devtools::install_github("useAiRStudio/air-package")Authenticate
Run air_login() to link your account. A browser window opens for sign-in.
# Authenticate (opens browser)
AiR::air_login()
✓ Authentication completeEnable auto-start
Run once - AiR will launch automatically every time you open RStudio.
# Auto-start on every RStudio session
AiR::air_install()
✓ AiR will now start automaticallySimple, transparent pricing
Start free. Upgrade when you need more.
Free
Get started with AiR at no cost.
- Limited monthly usage
- Error fixing & diagnosis
- Code editing with diffs
- EDA reports (quick depth)
- Smart context sync
Pro
Full access for power users.
- 15x more monthly usage
- All Free features
- Deep EDA reports with statistical tests
- Priority response times
- Data Tidying: audit, transform, and export clean datasets
- Model Builder with 15 model types, unsupervised mode & cross-validation
- Diagnostic plots, model comparison & stepwise selection
Your data stays yours
AiR is built with privacy at its core. We never train on your data, and the AI provider discards it immediately after processing.
Zero data training
Your code and data are never used to train AI models.
No data retention
Data is processed by the AI and immediately discarded. Nothing is stored on AI servers.
Encrypted in transit
All communication is encrypted via HTTPS/TLS.