%0 Generic %A Murrell, Paul %D 2018 %T Rendering HTML Content in R Graphics %U https://auckland.figshare.com/articles/dataset/Rendering_HTML_Content_in_R_Graphics/7471526 %R 10.17608/k6.auckland.7471526.v1 %2 https://auckland.figshare.com/ndownloader/files/13837859 %2 https://auckland.figshare.com/ndownloader/files/13837862 %K Rlanguage %K HTML %K CSS %K layoutEngine %K CSSBox %K PhantomJS %K DOM %K Computer Graphics %K Computer Software %X This report describes several R packages that allow HTML content to be rendered as part of an R plot. The core package is called 'layoutEngine', but that package requires a "backend" package to perform HTML layout calculations. Three example backends are demonstrated: 'layoutEngineCSSBox', 'layoutEnginePhantomJS', and 'layoutEngineDOM'. We also introduce two new font packages, 'gyre' and 'courier'. %I The University of Auckland