httpgd
February 19, 2026 ยท View on GitHub
An HTTP/WebSocket graphics device for R. Serves plots asynchronously and includes an interactive web-based plot viewer. Built to embed live R graphics in IDEs and other applications.
Powered by unigd.
Features
- Fast, asynchronous plot rendering
- Interactive plot viewer with history and resizing
- Multiple concurrent clients
- Export to SVG, PNG, PDF, EPS, and more
- Stateless HTTP/WebSocket API
Demo

Installation
Install from CRAN:
install.packages("httpgd")
Or install the development version from GitHub:
remotes::install_github("nx10/httpgd")
See system requirements for details.
Documentation
Contributing
httpgd is written in C++, R, and TypeScript. Contributions of any kind are welcome.
Links
License
Licensed under GPL v2.0. Webserver based on CrowCpp/Crow. Vendored license copies are in ./inst/licenses.