lt: Lightweight Tables via JSON Specs and JavaScript

A lightweight grammar of tables. Build a table by declaring a JSON spec (titles, spanners, row groups, footnotes, formatting functions, etc.); a tiny vanilla JavaScript runtime builds the HTML table from the spec on page load. No 'sass', no 'V8', no 'htmlwidgets' — just base R and 'xfun' ('htmltools' is used only for the optional Shiny binding).

Package details

AuthorYihui Xie [aut, cre, cph] (ORCID: <https://orcid.org/0000-0003-0645-5666>, URL: https://yihui.org)
MaintainerYihui Xie <xie@yihui.name>
LicenseMIT + file LICENSE
Version0.2
URL https://github.com/yihui/lt
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("lt")

Try the lt package in your browser

Any scripts or data that you put into this service are public.

lt documentation built on July 10, 2026, 1:09 a.m.