Create interactive ggplot charts with ggiraph: add tooltips, hover effects, and click selection to any ggplot2 plot for Shiny apps and R Markdown.
Latest guides
View all →- Interactive ggplot with ggiraph rguides.dev/guides
- Rcpp C++ Integration in R: Speed Up Your R Code with C++ rguides.dev/guides
Learn Rcpp C++ integration in R: write fast C++ functions with sourceCpp, benchmark R vs compiled code, and build R packages with C++ extensions.
- Advanced Table Formatting with gt rguides.dev/guides
Master table formatting in R with the gt package. Create presentation-ready display tables with custom styling, conditional formatting, and row groups.
- Calling Python from R with reticulate rguides.dev/guides
Learn how to use Python libraries directly inside R using the reticulate package, with clear examples and common pitfalls explained.
- Building CLI Tools in R: A Practical Guide rguides.dev/guides
Building CLI tools in R: master argparse, optparse, shebangs, and executable scripts for creating command-line interfaces and automating data pipelines.
Reference
View all →| Name | Section | Description |
|---|---|---|
writeLines() | Base Functions | The writeLines() function writes text lines to a file or connection in R, with control over line endings and encoding. |
message | Base Functions | R base function to output diagnostic messages to stderr without halting execution. sends diagnostic output to the connection. |
stop | Base Functions | Signal an error and halt execution in R with stop(), including custom messages, call control, and condition objects. |
warning | Base Functions | Signal a warning in R with warning(), controlling call display, warn levels, suppression, and custom handlers. |
switch() | Base Functions | switch() selects one alternative from a list based on an integer index or character string match. Returns the selected element or NULL when no match exists. |
mapply() | Base Functions | mapply() applies a function to multiple arguments in parallel, processing matching elements together and recycling shorter vectors automatically. |
Tutorial series
View all →Latest articles
View all →- The Best R Packages in 2026: A Curated List rguides.dev/articles
The best R packages in 2026, from data manipulation to machine learning and web APIs. A curated guide to the essential R tools every developer needs.
- data.table vs dplyr: Performance Showdown rguides.dev/articles
data.table vs dplyr performance showdown: benchmarks on 10M-row datasets — filtering, grouping, joins, memory. Pick the right R data manipulation tool.
- Data Visualization Best Practices in R rguides.dev/articles
Create effective, informative data visualizations in R. This guide covers ggplot2, color theory, chart selection, and common pitfalls to avoid.