Yihui Xie 7/10/2026

The lt Package: Lightweight HTML Tables for R (and Beyond)

Read Original

This article introduces the lt R package, a lightweight alternative to gt for creating HTML tables. It describes the author's motivation after experiencing gt's heavy dependency tree, and explains how lt uses only base R and xfun on the R side, with a 10KB vanilla-JS file for rendering. The package relies on a JSON spec rather than R code to generate tables, making it fast and dependency-light. The article covers the grammar of tables, HTML-first philosophy, and practical use cases for tech projects.

The lt Package: Lightweight HTML Tables for R (and Beyond)

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet