html2R (version 0.1.0)

html2R: Launch the 'html2R' Shiny app

Description

Shiny app allowing to convert HTML code to R code.

Usage

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

Arguments

file

path to a HTML file; can be missing

theme, fontSize

options passed to aceEditor

Examples

Run this code
# NOT RUN {
# 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"))
}
# }

Run the code above in your browser using DataLab