cdnify_plotly: CDNify a *plotly* page

View source: R/cdnify_plotly.R

cdnify_plotlyR Documentation

CDNify a plotly page

Description

This function replaces dependencies in plotly .html pages generated using htmlwidgets::saveWidget().

Usage

cdnify_plotly(filename, libdir = sub(".html$", "_files", filename))

Arguments

filename

.html file to CDNify.

libdir

Directory containing dependencies (defaults to filename_files).

Details

The page must have been saved with selfcontained = FALSE in the call to htmlwidgets::saveWidget().


szego/cdnce documentation built on March 11, 2023, 9:33 p.m.