'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.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("widgetframe")

0.3.1 by Bhaskar Karambelkar, 9 years ago


https://github.com/bhaskarvk/widgetframe, https://bhaskarvk.github.io/widgetframe/


Report a bug at https://github.com/bhaskarvk/widgetframe/issues


Browse source code at https://github.com/cran/widgetframe


Authors: Bhaskar Karambelkar [aut, cre] , Yihui Xie [ctb] , NPR Visual Team [ctb, cph] (pym.js JavaScript library) , Bjørn Klinggaard [ctb, cph] (bLazy.js JavaScript library)


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports htmltools, purrr, magrittr, utils, tools

Depends on htmlwidgets

Suggests knitr, rmarkdown


Suggested by CNAIM, DTAT, tmap, ursa.


See at CRAN