Package: rstudioai 2.4.16

Nathan Bresette

rstudioai: RgentAI: AI-Powered Statistical Analysis Assistant for R

An intelligent AI assistant for R programming that provides conversational chat, plot analysis, error debugging, and specialized agents for data cleaning, transformation, statistical analysis, and machine learning workflows.

Authors:Nathan Bresette

rstudioai_2.4.16.tar.gz
rstudioai_2.4.16.zip(r-4.7-any)rstudioai_2.4.16.zip(r-4.6-any)rstudioai_2.4.16.zip(r-4.5-any)
rstudioai_2.4.16.tgz(r-4.6-any)rstudioai_2.4.16.tgz(r-4.5-any)
rstudioai_2.4.16.tar.gz(r-4.7-any)rstudioai_2.4.16.tar.gz(r-4.6-any)
rstudioai_2.4.16.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
rstudioai/json (API)

# Install 'rstudioai' in R:
install.packages('rstudioai', repos = c('https://nathanbresette.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/nathanbresette/rgent-ai/issues

On CRAN:

Conda:

3.02 score 3 stars 8 scripts 27 exports 21 dependencies

Last updated from:081169482c. Checks:7 WARNING, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develWARNING160
source / vignettesOK197
linux-releaseWARNING133
macos-releaseWARNING145
macos-oldrelWARNING101
windows-develWARNING89
windows-releaseWARNING103
windows-oldrelWARNING81
wasm-releaseOK101

Exports:ai_insert_codeai_replace_codeai_smart_insertassemble_intelligent_context_safeauto_capture_errorauto_start_rgentcapture_contextcapture_last_errorcheck_and_update_packageconvert_explorer_view_to_codedetect_context_changesexecute_codeexecute_r_functionexecute_with_captureget_available_dataframesget_available_objectsget_console_contextget_dataframe_chunk_filteredget_dataframe_explorer_dataget_dataframe_infoget_object_explorer_dataremove_error_monitoringrun_rgentsetup_rprofile_auto_startstop_websocket_servertest_auto_capturetrigger_auto_capture

Dependencies:askpassbase64encclicurldigestfastmaphttpuvhttrjsonlitelaterlifecyclemagrittrmimeopensslotelpromisesR6Rcpprlangrstudioapisys

Readme and manuals

Help Manual

Help pageTopics
Visualization Agent for RStudio AI%||%
Add message to conversation historyadd_to_conversation_history
Launch the AI assistant in the browser One-command solution that opens the HTML interface connected to Render backendai_addin_viewer
AI-driven code insertion with intelligent placementai_insert_code
AI-driven code replacementai_replace_code
Smart code insertion with AI contextai_smart_insert
Main plot analysis functionanalyze_last_plot
Analyze visualization agent plot specifically This function is designed for visualization agent plots and doesn't interfere with the analyze_last_plot buttonanalyze_visualization_plot
Auto-capture error context and show notificationauto_capture_error
Capture current workspace contextcapture_context
Capture current workspace context with smart filteringcapture_context_smart
Smart context capture with incremental processingcapture_context_smart_incremental
Capture last error with context and codecapture_last_error
Detect changes between two context statesdetect_context_changes
Execute code directly in R consoleexecute_code
R Code Execution Engineexecute_code_in_session
Execute analysis commands and collect resultsexecute_plot_analysis
Execute R function directly from frontendexecute_r_function
Execute code with auto-captureexecute_with_capture
Extract keywords from user queryextract_keywords
Extract data variables from plot commandextract_plot_data
Find exact matches for keywords in object namesfind_exact_matches
Update workspace index Find the last plot command in R historyfind_last_plot_command
Find partial and fuzzy matches for keywords in object namesfind_partial_matches
Generate analysis commands based on plot typegenerate_analysis_commands
Get Available DataFrames in Global Environmentget_available_dataframes
Get the console lines above the errorget_console_context
Get conversation history as formatted stringget_conversation_history
Get Basic Information About a DataFrameget_dataframe_info
Get the last executed code from R historyget_last_executed_code
Get relevant context from index based on error typeget_relevant_context_for_error
Get RStudio theme informationget_rstudio_theme
Identify plot type from commandidentify_plot_type
Insert code into active documentinsert_code
Insert code at specific location in documentinsert_code_at_location
Launch HTML interface with HTTPS support for clipboard APIlaunch_html_interface
Backwards compatibility aliaslaunch_websocket_chat
Load execution settingsload_execution_settings
Log code to filelog_code_to_file
Log error to filelog_error_to_file
Reconstruct multi-line base R plot command (plot, hist, boxplot, barplot)reconstruct_base_plot_command
Reconstruct multi-line ggplot2 commandreconstruct_ggplot_command
Reconstruct base R QQ plot command possibly spanning multiple linesreconstruct_qq_command
Refresh context and send to backendrefresh_context
Remove error monitoring task callbackremove_error_monitoring
Launch the AI assistant in RStudio viewer One-command solution that opens the HTML interface connected to Render backendrun_rgent
Save execution settingssave_execution_settings
Send debug error to AI for analysissend_error_to_ai
Smart filtering functions for workspace objectssmart_filter_objects
Start WebSocket server for R-JavaScript communicationstart_websocket_server
Stop WebSocket serverstop_websocket_server
Test auto-capture systemtest_auto_capture
Toggle auto-fix mode (removed)toggle_auto_fix
Manually trigger auto-capturetrigger_auto_capture
Full workspace update (fallback)update_workspace_index_full
Incremental workspace update functionsupdate_workspace_index_incremental