running-r-analysis-in-existing-projects

Work inside an existing R project to extend analyses, modify scripts, run statistical models, update visualizations, and regenerate reports.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "running-r-analysis-in-existing-projects" with this command: npx skills add jackkuo666/running-r-analysis-in-existing-projects

Running R Analysis in Existing Projects

This skill operates inside an already structured R project. It helps extend, debug, or enhance existing analyses without recreating the project from scratch.

Use this skill when the user wants to:

  • Continue analysis in an existing R project
  • Modify or extend R scripts
  • Add new statistical models or tests
  • Update plots or figures
  • Regenerate reports after data or code changes
  • Debug R errors in a project

What This Skill Does

When activated, this skill will:

  1. Understand the project structure

    • Detect folders like data/, scripts/, results/, reports/
    • Identify .Rproj, .Rmd, .qmd, or .R files
  2. Inspect existing analysis

    • Read current scripts and reports
    • Identify which packages and methods are being used
    • Avoid rewriting working components unnecessarily
  3. Extend or modify analysis

    • Add new models or statistical tests
    • Introduce new plots using ggplot2
    • Add new data processing steps
    • Improve code structure or reproducibility
  4. Re-run and update outputs

    • Recompute results
    • Overwrite or version new outputs in results/
    • Re-render R Markdown or Quarto reports
  5. Debug issues

    • Fix missing packages
    • Resolve file path problems
    • Handle common R errors and warnings

Example User Requests That Should Trigger This Skill

  • "Add a survival analysis to this R project"
  • "Update the plots in my report"
  • "This R Markdown file throws an error, fix it"
  • "Extend this analysis with a mixed-effects model"
  • "Re-run everything after I updated the data"

Example Workflow

User: Add a logistic regression model and update the report.

Skill actions:

  • Locate main analysis script
  • Add logistic regression using glm()
  • Save model summary to results/
  • Update report with new section and plot
  • Re-render HTML/PDF report

Tools & Packages Commonly Used

PurposeR Packages
Data wranglingtidyverse, dplyr
Modelingstats, lme4, glmnet
Visualizationggplot2
Reportingrmarkdown, quarto
Project managementhere, renv

Notes

  • Respect the existing project structure and style
  • Do not delete user code unless explicitly requested
  • Prefer incremental updates over full rewrites
  • Always regenerate reports after modifying analysis

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

奇门遁甲

提供基于数据分析与认知科学的八字和奇门遁甲排盘及解盘,辅助理性传统命理决策参考。

Registry SourceRecently Updated
General

No Login Video

Turn a 2-minute screen recording or phone video into 1080p ready-to-share MP4 just by typing what you need. Whether it's editing and exporting videos instant...

Registry SourceRecently Updated
General

Editor Baby

Skip the learning curve of professional editing software. Describe what you want — trim the best moments, add soft background music, and create a short highl...

Registry SourceRecently Updated
General

Secretary Memory

OpenClaw 秘书式多分区记忆系统 v3.0。仿生现代秘书的笔记本分类法,支持:(1) 多分区并发搜索 + 每分区3条上下文召回,(2) 会话自动摘要,(3) 偏好自动提取 + 用户关系图谱,(4) 记忆冲突主动检测,(5) 定时 consolidation + 会话结束 hook,(6) 精细化恢复/回溯,...

Registry SourceRecently Updated