Description Usage Arguments Examples
Initialize httpgd graphics device, start server, and launch viewer.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
host |
Hostname. |
port |
Port. |
width |
Graphics device width (pixels). |
height |
Graphics device height (pixels). |
bg |
Background color. |
pointsize |
Graphics device point size. |
system_fonts |
Named list of font names to be aliased with
fonts installed on your system. If unspecified, the R default
families |
user_fonts |
Named list of fonts to be aliased with font files
provided by the user rather than fonts properly installed on the
system. The aliases can be fonts from the fontquiver package,
strings containing a path to a font file, or a list containing
|
recording |
Should a plot history be recorded. |
cors |
Toggles Cross-Origin Resource Sharing (CORS) header. When set to TRUE, CORS header will be set to "*". |
token |
(Optional) security token string. When set all requests need to include this token to be allowed. (Either in a request header (X-HTTPGD-TOKEN) field or as a query parameter.) |
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.