rstudio-research-agent
Interact with R and RStudio environments for scientific research tasks including creating projects, running analyses, managing dependencies, and generating publication-quality plots.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/jackkuo666/rstudio-research-agentRStudio Research Agent
A Claude Code skill for comprehensive R-based research workflow automation. This skill enables interaction with R and RStudio environments for scientific computing, statistical analysis, bioinformatics, and data visualization.
Overview
This skill helps researchers and data scientists:
- Create structured, reproducible R research projects
- Execute R scripts and RMarkdown analyses
- Debug environment and dependency issues
- Generate publication-quality plots and reports
- Manage R packages with renv for reproducibility
Use this skill when the user wants to:
- Create a new R project with standard structure
- Run R analyses on existing projects
- Troubleshoot R package dependencies
- Generate statistical reports or visualizations
- Set up reproducible R workflows
What This Skill Does
When activated, this skill provides four main capabilities:
1. Create R Research Projects
- Scaffold new R projects with standard folder structure
- Initialize Git repositories (optional)
- Set up
renvfor package management - Generate template scripts and reports
- Create
.Rprojfiles for RStudio
2. Run Analyses in Existing Projects
- Execute R scripts and RMarkdown files
- Handle parameterized analyses
- Return results, tables, and plots
- Generate HTML/PDF reports
3. Debug Environment and Dependencies
- Check for missing R packages
- Resolve library conflicts
- Suggest fixes for environment issues
- Verify R version compatibility
4. Generate Publication-Quality Plots
- Create figures with ggplot2 and other visualization libraries
- Export to PDF/PNG/SVG/TIFF formats
- Follow journal-specific formatting guidelines
- Support multi-panel composite figures
- Use color-blind friendly palettes
Example User Requests That Should Trigger This Skill
- "Create a new R project for my genomics data analysis"
- "Run
analysis.Rin my existing project and show results" - "Check if all required packages are installed"
- "Generate a scatter plot with regression line from my dataset"
- "Set up a reproducible R workflow for RNA-seq analysis"
- "Debug my R environment - packages won't load"
- "Create a statistical report for this clinical trial data"
Project Structure
Projects created by this skill follow this standardized structure:
my-research-project/
├── data/
│ ├── raw/ # Original, immutable data files
│ └── processed/ # Cleaned, transformed data
├── scripts/ # Analysis and processing scripts
├── results/
│ ├── figures/ # Plots and visualizations
│ ├── tables/ # Summary tables
│ └── models/ # Saved model objects (.rds files)
├── reports/ # R Markdown/Quarto documents
├── renv.lock # Package version lock file
├── .Rproj # RStudio project file
└── README.md # Project documentation
Tools & Packages Commonly Used
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-jackkuo666-rstudio-research-agent": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
Sci-Hub-Search
AI-powered tool for searching and downloading academic papers through Sci-Hub
debugging-r-environment-and-dependencies
Diagnose and fix R environment issues, including package installation failures, dependency conflicts, system library problems, renv errors, and Bioconductor version mismatches.
generating-publication-ready-figures-in-r
Transform standard ggplot2 figures into publication-quality visualizations matching Nature, Science, and other top journal styles with proper themes, colors, fonts, and export settings.
Semanticscholar Search Skill
Skill by jackkuo666
Sci-Data-Extractor
AI-powered tool for extracting structured data from scientific literature PDFs