Installation Guide

Get RgentAI up and running with just copy and paste

Quick Installation

Four Simple Commands

```{r}
# 1. Install devtools (if not already installed)
# install.packages("devtools")
library(devtools)
# 2. Install RgentAI package
devtools::install_github("NathanBresette/Rgent-AI", force = TRUE, upgrade = "never")
# 3. Load the library
library(rstudioai)
# 4. Launch the AI assistant
run_rgent()
```

That's it! Your AI assistant is now built right into RStudio.

Watch Installation Demo

System Requirements

💻

R & RStudio

R 4.0+ and RStudio 1.4+ required

📦

Dependencies

devtools package for GitHub installation

🌐

Internet

Active internet connection for AI responses

🔧 Troubleshooting

  • GitHub access issues: Ensure your R session can access GitHub repositories
  • Function not found: Make sure you've loaded the library with library(rstudioai)
  • Viewer tab not appearing: Check that RStudio is up to date and restart if needed

Ready to Get Started?

Install RgentAI and start getting AI-powered help in RStudio today.

Get Access Code