# Send Running R Analysis In Existing Projects to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "running-r-analysis-in-existing-projects",
    "name": "Running R Analysis In Existing Projects",
    "source": "tencent",
    "type": "skill",
    "category": "数据分析",
    "sourceUrl": "https://clawhub.ai/JackKuo666/running-r-analysis-in-existing-projects",
    "canonicalUrl": "https://clawhub.ai/JackKuo666/running-r-analysis-in-existing-projects",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/running-r-analysis-in-existing-projects",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=running-r-analysis-in-existing-projects",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "examples/README.md",
      "existing-project-demo/README.md",
      "existing-project-demo/data/sample_data.csv"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "running-r-analysis-in-existing-projects",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T03:42:38.220Z",
      "expiresAt": "2026-05-07T03:42:38.220Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=running-r-analysis-in-existing-projects",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=running-r-analysis-in-existing-projects",
        "contentDisposition": "attachment; filename=\"running-r-analysis-in-existing-projects-0.1.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "running-r-analysis-in-existing-projects"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/running-r-analysis-in-existing-projects"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/running-r-analysis-in-existing-projects",
    "downloadUrl": "https://openagent3.xyz/downloads/running-r-analysis-in-existing-projects",
    "agentUrl": "https://openagent3.xyz/skills/running-r-analysis-in-existing-projects/agent",
    "manifestUrl": "https://openagent3.xyz/skills/running-r-analysis-in-existing-projects/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/running-r-analysis-in-existing-projects/agent.md"
  }
}
```
## Documentation

### 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:

Understand the project structure

Detect folders like data/, scripts/, results/, reports/
Identify .Rproj, .Rmd, .qmd, or .R files



Inspect existing analysis

Read current scripts and reports
Identify which packages and methods are being used
Avoid rewriting working components unnecessarily



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



Re-run and update outputs

Recompute results
Overwrite or version new outputs in results/
Re-render R Markdown or Quarto reports



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 PackagesData wranglingtidyverse, dplyrModelingstats, lme4, glmnetVisualizationggplot2Reportingrmarkdown, quartoProject 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
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: JackKuo666
- Version: 0.1.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-30T03:42:38.220Z
- Expires at: 2026-05-07T03:42:38.220Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/running-r-analysis-in-existing-projects)
- [Send to Agent page](https://openagent3.xyz/skills/running-r-analysis-in-existing-projects/agent)
- [JSON manifest](https://openagent3.xyz/skills/running-r-analysis-in-existing-projects/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/running-r-analysis-in-existing-projects/agent.md)
- [Download page](https://openagent3.xyz/downloads/running-r-analysis-in-existing-projects)