Introduction
Rflow AI Assistant is your intelligent R coding companion powered by Claude Sonnet 4.5.
AI-Powered
Claude Sonnet 4.5 for accurate analysis
Universal Files
Excel, CSV, JSON, Shapefiles, PDFs
3x Faster
Real-time streaming responses
Free Trial
3 messages to try before you buy
Installation
Install Rflow directly from your R console with a single command:
# Install Rflow from source
install.packages("https://rflowlabs.com/Rflow.tar.gz", repos = NULL, type = "source")
This will automatically install all required dependencies and set up Rflow in your RStudio environment.
Quick Start
Start Rflow
library(Rflow)
start_rflow()
Launch the Rflow AI assistant in RStudio!
Ask Questions
Type your questions in the chat interface. Rflow can help with:
- Data analysis
- Visualizations
- Statistical tests
- Code debugging
Free Trial
3 Free Messages
Every user gets 3 free messages to try Rflow - no credit card required!
# Start with trial mode
library(Rflow)
start_rflow()
Purchasing Messages
Starter - 50 Messages
Only $0.08 per message
Pro - 150 Messages
Only $0.05 per message
Purchase Steps:
- Click "Get Instant Access" on the pricing section
- Complete payment via Stripe
- Copy your API key from the success page
- Set it in R (see next section)
Using Your API Key (Only Rflow Key Needed!)
Simple Setup
You only need your Rflow API key - no other API keys required!
Set for Current Session
# Set your Rflow API key
Sys.setenv(RFLOW_API_KEY = "rflow_your_key_here")
# Load and start Rflow
library(Rflow)
start_rflow()
# Check status
get_rflow_status()
Set Permanently
# Open .Renviron file
usethis::edit_r_environ()
# Add this line:
RFLOW_API_KEY=rflow_your_key_here
# Save and restart R
.rs.restartR()
# Load and start Rflow
library(Rflow)
start_rflow()
Universal File Support
Data Files
Documents
Code Files
3x Faster Streaming
| Metric | Before | After | Improvement |
|---|---|---|---|
| Update Interval | 150ms | 50ms | 3x faster |
| Chunks per Update | 10 | 3 | 3.3x more |
| Sleep Duration | 5ms | 2ms | 2.5x less |
Result
Smooth, professional streaming experience with real-time progress indicators!
Essential Commands
start_rflow()
Start Rflow AI assistant
get_rflow_status()
Check messages remaining
stop_rflow()
Stop Rflow
Keyboard Shortcuts
Send message
New line
Paste image
Troubleshooting
Make sure the payment portal server is running:
cd c:/Users/carly/Downloads/rflow-payment-portal
python server.py
The server must be running at https://rflowlabs.com (or http://localhost:3001 for local testing)
Try these steps:
- Restart R:
.rs.restartR() - Reload package:
devtools::load_all() - Check for errors in console
- Make sure all dependencies are installed
Ready to Get Started?
Try Rflow with 3 free messages or get 50 messages for just $3.99
