Skip to main content

Add Rcpp Integration

Skill Verified Active

Add Rcpp or RcppArmadillo integration to an R package for high-performance C++ code. Covers setup, writing C++ functions, RcppExports generation, testing compiled code, and debugging. Use when an R function is too slow and profiling confirms a bottleneck, when you need to interface with existing C/C++ libraries, or when implementing algorithms (loops, recursion, linear algebra) that benefit from compiled code.

Purpose

To enable R developers to significantly improve the performance of their R functions by integrating compiled C++ code using Rcpp or RcppArmadillo.

Features

  • Adds Rcpp/RcppArmadillo integration to R packages
  • Covers setup, C++ function writing, and RcppExports generation
  • Includes steps for testing compiled code and debugging
  • Addresses performance bottlenecks and interfacing with C/C++ libraries
  • Provides guidance on linear algebra operations with RcppArmadillo

Use Cases

  • When an R function is too slow and profiling confirms a bottleneck
  • When you need to interface with existing C/C++ libraries
  • When implementing algorithms (loops, recursion, linear algebra) that benefit from compiled code

Non-Goals

  • General R package development setup
  • Writing complex C++ applications outside of R integration
  • Advanced debugging of C++ core dumps

Installation

/plugin install agent-almanac@pjt222-agent-almanac

Quality Score

Verified
99 /100
Analyzed about 23 hours ago

Trust Signals

Last commit2 days ago
Stars14
LicenseMIT
Status
View Source

Similar Extensions

Linux

100

Zoom Video SDK for Linux - C++ headless bots, raw audio/video capture/injection, Qt/GTK integration, Docker support

Skill
anthropics

Performance Analysis

100

Comprehensive performance analysis, bottleneck detection, and optimization recommendations for Claude Flow swarms

Skill
ruvnet

Next Cache Components

100

Next.js 16 Cache Components - PPR, use cache directive, cacheLife, cacheTag, updateTag

Skill
vercel-labs

MongoDB Connection Optimizer

100

Optimize MongoDB client connection configuration (pools, timeouts, patterns) for any supported driver language. Use this skill when working/updating/reviewing on functions that instantiate or configure a MongoDB client (eg, when calling `connect()`), configuring connection pools, troubleshooting connection errors (ECONNREFUSED, timeouts, pool exhaustion), optimizing performance issues related to connections. This includes scenarios like building serverless functions with MongoDB, creating API endpoints that use MongoDB, optimizing high-traffic MongoDB applications, creating long-running tasks and concurrency, or debugging connection-related failures.

Skill
mongodb

One On Ones

100

Design and run effective 1:1 meetings that build trust, develop people, and surface problems early. Covers cadence setup, agenda ownership, conversation frameworks, question banks, and handling difficult topics. Use when: a new manager learning to run 1:1s, resetting unproductive 1:1s that became status updates, onboarding a new direct report, preparing for a difficult performance conversation, building trust with a new team, or coaching through career development discussions.

Skill
guia-matthieu

Sql Optimization

100

Universal SQL performance optimization assistant for comprehensive query tuning, indexing strategies, and database performance analysis across all SQL databases (MySQL, PostgreSQL, SQL Server, Oracle). Provides execution plan analysis, pagination optimization, batch operations, and performance monitoring guidance.

Skill
github

© 2025 SkillRepo · Find the right skill, skip the noise.