agentsclimarketplace

R

Skill G1Joshi/Agent-Skills/skills/languages/r

A comprehensive skill catalog for AI agents

Install
npx -y skills add G1Joshi/Agent-Skills --skill r

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 10 stars10 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

R statistical programming for data analysis, visualization, and modeling. Use for .r files.

SKILL.md

1.2 KB, as published. Nobody here has run it

R

A language and environment for statistical computing and graphics.

When to Use

  • Statistical Analysis
  • Data Visualization (ggplot2)
  • Bioinformatics
  • Academic research

Quick Start

print("Hello, World!")

# Vector
x <- c(1, 2, 3, 4, 5)

# Mean
mean(x)

# Data Frame
df <- data.frame(
  Name = c("Alice", "Bob"),
  Age = c(25, 30)
)

Core Concepts

Vectorization

R operations are designed to work on entire vectors at once, avoiding explicit loops.

x + 1 # Adds 1 to every element in x

Pipe Operator %>%

Used to clean code by passing output of one function as input to the next (Tidyverse).

data %>%
  filter(users > 100) %>%
  group_by(region) %>%
  summarize(total = sum(users))

Best Practices

Do:

  • Use the Tidyverse (dplyr, ggplot2) for modern R
  • Document functions with Roxygen2
  • Use RStudio IDE

Don't:

  • Use explicit for loops if vectorization is possible (performance)
  • Mix naming conventions (snake_case is preferred in tidyverse)

References

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.