Skip to content
Back to skills

R Web

ASecurity

R web technologies and reproducible research. Use for Shiny apps, web scraping, REST APIs, dynamic reports (rmarkdown, knitr), and document generation.

  • 5 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added June 5, 2026
datagoapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned June 5, 2026

npx -y skills add LeoLin990405/r-analytics-skill --skill r-web --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of R Web?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for R Web
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/leolin990405-r-web/badge)](https://www.skillsdirectory.com/skills/leolin990405-r-web)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: r-web
description: R web technologies and reproducible research. Use for Shiny apps, web scraping, REST APIs, dynamic reports (rmarkdown, knitr), and document generation.
---

# R Web & Reproducible Research Skill

## Sub-skills

| Sub-skill | Description |
|-----------|-------------|
| [r-web-shiny](r-web-shiny/SKILL.md) | Shiny apps, golem, shinyjs |
| [r-web-api](r-web-api/SKILL.md) | plumber, httr, REST APIs |
| [r-web-scraping](r-web-scraping/SKILL.md) | rvest, xml2, web scraping |
| [r-web-reports](r-web-reports/SKILL.md) | rmarkdown, knitr, quarto |

Web technologies, APIs, and reproducible research in R.

## Web Applications

| Package | Description |
|---------|-------------|
| **shiny** ★ | Interactive web applications |
| **shinyjs** | Improve Shiny UX |
| **golem** | Production-grade Shiny framework |
| **plumber** ★ | REST API from R functions |
| **OpenCPU** | HTTP API for R |

## HTTP & Web Scraping

| Package | Description |
|---------|-------------|
| **httr** ★ | User-friendly HTTP client |
| **httr2** | Next-gen httr |
| **curl** | Modern web client |
| **RCurl** | General network client |
| **rvest** ★ | Simple web scraping |
| **xml2** | XML parsing |
| **XML** | XML tools |

## Social Media APIs

| Package | Description |
|---------|-------------|
| **Rfacebook** | Facebook API |
| **rtweet** | Twitter API |
| **RSiteCatalyst** | Adobe Analytics |

## Reproducible Research

| Package | Description |
|---------|-------------|
| **knitr** ★ | Dynamic report generation |
| **rmarkdown** ★ | Dynamic documents |
| **quarto** ★ | Next-gen publishing |
| **bookdown** | Books with R Markdown |
| **blogdown** | Websites with R Markdown |
| **slidify** | HTML5 slides |
| **xaringan** | Presentations (remark.js) |

## Tables & Output

| Package | Description |
|---------|-------------|
| **kableExtra** | Fancy HTML/LaTeX tables |
| **gt** | Grammar of tables |
| **flextable** | Tables for Word/PowerPoint/HTML |
| **xtable** | Export to LaTeX/HTML |
| **texreg** | Format models for LaTeX/HTML |
| **formattable** | Formattable data structures |

## Office Documents

| Package | Description |
|---------|-------------|
| **officer** | Word/PowerPoint/HTML reports |
| **openxlsx** | Excel files |
| **writexl** | Write Excel |

## Workflow & Reproducibility

| Package | Description |
|---------|-------------|
| **targets** ★ | Make-like pipeline tool |
| **checkpoint** | Package snapshots |
| **renv** | Project environments |
| **tinytex** | Lightweight LaTeX |
| **brew** | Report templating |

## Quick Examples

```r
# Shiny app
library(shiny)
ui <- fluidPage(
  titlePanel("App"),
  sidebarLayout(
    sidebarPanel(
      sliderInput("n", "N:", 1, 100, 50)
    ),
    mainPanel(
      plotOutput("plot")
    )
  )
)
server <- function(input, output) {
  output$plot <- renderPlot({
    hist(rnorm(input$n))
  })
}
shinyApp(ui, server)

# REST API with plumber
# plumber.R
#* @get /mean
function(n = 10) {
  mean(rnorm(as.numeric(n)))
}
# Run: plumber::plumb("plumber.R")$run(port = 8000)

# Web scraping
library(rvest)
page <- read_html("https://example.com")
page %>%
  html_elements("table") %>%
  html_table()

# HTTP requests
library(httr)
resp <- GET("https://api.example.com/data",
            query = list(key = "value"))
content(resp, "parsed")

# R Markdown document
---
title: "Report"
output: html_document
---
```{r}
summary(mtcars)
```

# knitr tables
library(knitr)
kable(head(df), format = "html")

# targets pipeline
library(targets)
# _targets.R
list(
  tar_target(data, read_csv("data.csv")),
  tar_target(model, lm(y ~ x, data = data)),
  tar_target(report, rmarkdown::render("report.Rmd"))
)
```

## Resources

- Shiny: https://shiny.rstudio.com/
- plumber: https://www.rplumber.io/
- R Markdown: https://rmarkdown.rstudio.com/
- Quarto: https://quarto.org/
- targets: https://docs.ropensci.org/targets/

Files in this skill

  • SKILL.md3.8 KB
  • r-web-api/RSelenium/SKILL.md2.4 KB
  • r-web-api/SKILL.md2.8 KB
  • r-web-api/httr/SKILL.md3.5 KB
  • r-web-api/httr2/SKILL.md2.9 KB
  • r-web-api/plumber/SKILL.md3.1 KB
  • r-web-api/rvest/SKILL.md2 KB
  • r-web-api/xml2/SKILL.md2.7 KB
  • r-web-reports/SKILL.md2.5 KB
  • r-web-reports/blogdown/SKILL.md1.8 KB
  • r-web-reports/bookdown/SKILL.md1.5 KB
  • r-web-reports/flextable/SKILL.md3.8 KB
  • r-web-reports/gt/SKILL.md2 KB
  • r-web-reports/knitr/SKILL.md1.5 KB
  • r-web-reports/officer/SKILL.md3.6 KB
  • r-web-reports/quarto/SKILL.md1.4 KB
  • r-web-reports/rmarkdown/SKILL.md1.6 KB
  • r-web-reports/slidify/SKILL.md1.8 KB
  • r-web-reports/targets/SKILL.md3.7 KB
  • r-web-reports/tinytex/SKILL.md3.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in data →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.