Your AI assistant, inside RStudio
AiR lives in your Viewer pane. Fix errors, generate complete EDA reports, edit code, and understand your data — without leaving your IDE.
Everything you need, right in RStudio
No context switching. No copy-pasting to ChatGPT. AiR understands your code, your data, and your errors — and fixes them in place.
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
There's a trailing comma in your formula. Here's the fix:
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
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 one click
- Understands your full project context
I'll add input validation at the top of the function:
Understands your R environment
AiR automatically syncs with your R session. It knows every dataframe loaded, their columns, types, and distributions. When you ask for help, it already has the context.
- Live sync with your R environment
- Sees all loaded dataframes with column metadata
- Knows your project file structure
- Reads your active file and selected code
Profile, summarize, and explore — one click
The Data tab gives you instant insight into every loaded dataframe. Click any column to see its distribution, stats, and missing values. Then go further — hit Run EDA to generate a full exploratory report, or Summary for a quick statistical overview. No code required.
- Click columns to see histograms, bar charts, and stats instantly
- Run EDA — generates a complete .Rmd analysis report
- Summary — quick statistical overview of any dataframe
- Data cleaning tools coming soon
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 completeLaunch the panel
Start AiR and it opens directly in your RStudio Viewer pane.
# Launch AiR in the Viewer pane
AiR::air_start()
✓ AiR panel opened in ViewerSimple, transparent pricing
Start free. Upgrade when you need more.
Free
Get started with AiR at no cost.
- 50 requests per month
- Error fixing & diagnosis
- Code editing with diffs
- EDA reports (quick depth)
- Smart context sync
Pro
Unlimited access for power users.
- Unlimited requests
- All Free features
- Deep EDA reports with statistical tests
- Priority response times
- Data cleaning & modeling pipelines