auto-updater-skill
Automatic skill update management: check for updates, diff, apply, rollback, version tracking
coding-r
R: data frames, tidyverse, ggplot2, statistical modeling, RMarkdown, Shiny, package development
Full skill instructions
This skill allows the AI to execute R programming tasks for data manipulation, visualization, and analysis using packages like tidyverse and ggplot2, focusing on data frames, statistical modeling, RMarkdown reports, Shiny apps, and package development.
Always prefix R code with the skill ID "coding-r" in agent commands, e.g., "Use coding-r to load and plot data". Invoke via code blocks in responses, ensuring scripts are self-contained. For multi-step tasks, break into functions: first load libraries, then process data, and finally output results. Use R scripts (.R files) for complex workflows, calling them with source("script.R"). If environment variables are needed (e.g., for API keys in packages), set them like Sys.setenv(API_KEY = "$MY_API_KEY") before running code.
library(tidyverse) followed by df <- read_csv("data.csv") %>% filter(column > 10).library(ggplot2); ggplot(df, aes(x=var1, y=var2)) + geom_point() + theme_minimal().model <- lm(y ~ x, data=df); summary(model).--- title: "Report" output: html_document --- in a .Rmd file, then add code chunks like {r} print(summary(df)) .library(shiny); ui <- fluidPage(); server <- function(input, output) {}; shinyApp(ui, server).devtools::create("mypackage") to initialize, then add functions in R/ folder.Integrate R code into larger workflows by embedding in Python via rpy2 (e.g., import rpy2.robjects as robjects; robjects.r('library(tidyverse)')), or use reticulate for Python-R bridging. For web services, deploy Shiny apps on Shiny Server or shinyapps.io, configuring with environment variables like $SHINY_API_KEY for authentication. Use config files (e.g., YAML) for parameters: create a config.yml with api_key: $MY_API_KEY, then read in R with yaml::yaml.load_file("config.yml"). Ensure R version compatibility (e.g., >=4.0) and install dependencies via install.packages(c("tidyverse", "ggplot2")) before execution.
Use tryCatch() for robust code: tryCatch({ result <- lm(y ~ x, data=df) }, error = function(e) print(paste("Error:", e))). Check for missing packages with if (!require(tidyverse)) install.packages("tidyverse"). Handle data issues like NA values with df <- df %>% drop_na() before operations. For Shiny, debug with shiny::runApp(launch.browser=TRUE) and log errors via options(shiny.error = recover). Always validate inputs, e.g., if (is.null(df)) stop("Data frame is missing"). If API calls fail (e.g., in httr package), retry with httr::RETRY("GET", url, times=3).
Data Analysis and Plotting: To analyze a CSV file and create a scatter plot, use: library(tidyverse); library(ggplot2); df <- read_csv("data.csv"); ggplot(df, aes(x=age, y=income)) + geom_point() + labs(title="Age vs Income"). This loads data, filters if needed, and outputs the plot.
Statistical Modeling in RMarkdown: For a regression report, create an RMarkdown file: --- output: html_document --- # Analysis ````{r} library(tidyverse); model <- lm(sales ~ advertising, data=df); summary(model) ````. Render with rmarkdown::render("report.Rmd")` to generate an HTML output with results.
Automatic skill update management: check for updates, diff, apply, rollback, version tracking
Gemini image generation/editing: Imagen 3, edit regions, style transfer, upscaling
Keychain: security CLI, API key storage, certificates, codesigning, Secure Enclave
Expertise in orchestrating and managing containerized applications at scale using Kubernetes.
ClaWHub skills marketplace: browse, search, install, rate, review skills. https://clawhub.com
Manage and configure Amazon Virtual Private Cloud for creating isolated, customizable network environments in AWS.
Session topology: discover alive sessions, specialization registry, steer/kill sub-agents, session keys
Manage and configure Amazon EC2 instances for scalable virtual servers and cloud computing resources.
Node pairing: approve/reject, nodes run/invoke, screen_record, camera_snap, location, System76 mgmt
Grafana is an open-source tool for creating dashboards to visualize and query metrics, logs, and traces from various dat
Develops XR applications using Unity for AR and VR, focusing on immersive interactions and cross-platform compatibility.
Statistical analysis: t-tests, chi-squared, Mann-Whitney, p-values, CIs, Bonferroni/BH, Bayesian A/B
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience