optimizing-r

Community

Boost R code speed and efficiency.

Authorjeremy-allen
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you identify and fix performance bottlenecks in your R code, making your analyses run faster and more efficiently.

Core Features & Use Cases

  • Performance Profiling: Use tools like profvis to pinpoint slow sections of your code.
  • Benchmarking: Compare different approaches to find the most performant solution using bench::mark().
  • Optimization Strategies: Learn when and how to use parallel processing, choose the right data backends (dplyr, data.table, base R), and apply modern purrr patterns.
  • Use Case: You have an R script that takes hours to run. Use this Skill to profile it, identify the slowest function, and then benchmark a rewritten version using data.table or parallel processing to significantly reduce runtime.

Quick Start

Use the optimizing-r skill to profile the attached R script 'my_slow_script.R' to find performance bottlenecks.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: optimizing-r
Download link: https://github.com/jeremy-allen/claude-skills/archive/main.zip#optimizing-r

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.