httpgd
A graphics device for R that is accessible via network protocols. This package was created to make it easier to embed live R graphics in integrated development environments and other applications. The included HTML/JavaScript client (plot viewer) aims to provide a better overall user experience when dealing with R graphics. The device asynchronously serves graphics via HTTP and WebSockets.
unigd
Install httpgd
from CRAN:
install.packages("httpgd")
Or get the latest development version from GitHub:
remotes::install_github("nx10/httpgd")
See system requirements for troubleshooting.
unigd
The various components of httpgd
are written in C++, R and TypeScript. We welcome contributions of any kind.
Other areas in need of improvement are testing and documentation.
Depends on cpp11
.
Webserver based on CrowCpp/Crow
.
This project is licensed GPL v2.0.
The HTML client includes Material Design icons by Google which are licensed under the Apache License Version 2.0.
Full copies of the license agreements used by these components are included in ./inst/licenses
.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.