html2R: Launch the 'html2R' Shiny app

Description Usage Arguments Examples

View source: R/shinyApp.R

Description

Shiny app allowing to convert HTML code to R code.

Usage

1
html2R(file, theme = "cobalt", fontSize = 16)

Arguments

file

path to a HTML file; can be missing

theme, fontSize

options passed to aceEditor

Examples

1
2
3
4
5
6
7
# launch the Shiny app without file ####
if(interactive()) html2R()

# launch the Shiny app with a file ####
if(interactive()){
  html2R(system.file("example.html", package = "html2R"))
}

html2R documentation built on Sept. 15, 2020, 5:07 p.m.