widgetframe: 'Htmlwidgets' in Responsive 'iframes'

Provides two functions 'frameableWidget()', and 'frameWidget()'. The 'frameableWidget()' is used to add extra code to a 'htmlwidget' which allows is to be rendered correctly inside a responsive 'iframe'. The 'frameWidget()' is a 'htmlwidget' which displays content of another 'htmlwidget' inside a responsive 'iframe'. These functions allow for easier embedding of 'htmlwidgets' in content management systems such as 'wordpress', 'blogger' etc. They also allow for separation of widget content from main HTML content where CSS of the main HTML could interfere with the widget.

Package details

AuthorBhaskar Karambelkar [aut, cre], Yihui Xie [ctb], NPR Visual Team [ctb, cph] (pym.js JavaScript library), Bjørn Klinggaard [ctb, cph] (bLazy.js JavaScript library)
MaintainerBhaskar Karambelkar <bhaskarvk@gmail.com>
LicenseMIT + file LICENSE
URL https://github.com/bhaskarvk/widgetframe https://bhaskarvk.github.io/widgetframe/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the widgetframe package in your browser

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

widgetframe documentation built on May 1, 2019, 7:05 p.m.