r-performance
CommunityBoost R performance with profiling & tuning.
Authorab604
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps data scientists and developers quickly identify bottlenecks in R code, reduce runtime, and implement reliable optimization strategies for performance-critical workflows.
Core Features & Use Cases
- Profiling workflow: Use profvis, Rprof, and system.time to locate hot spots in complex scripts.
- Benchmarking & comparison: Use bench::mark() to compare alternatives and quantify improvements.
- Guidance on vctrs: Decide when type-stable, vectorized approaches are advantageous for packages and data pipelines.
- Use Case: Example scenario where a data analysis pipeline with large data frames benefits from profiling and targeted optimizations.
Quick Start
Use profvis({ your_slow_function(data) }) to identify the slow parts, then benchmark alternatives with bench::mark() and implement the fastest approach in your code.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: r-performance Download link: https://github.com/ab604/claude-code-r-skills/archive/main.zip#r-performance Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.