Use htmlwidgets::saveWidget without to save file.

Hello,
...
htmlwidgets::saveWidget(widget = chart, file = "hc.html")
my_html <- read.delim("hc.html", header = F, stringsAsFactors = F, quote = "")
...
I wont to get my_html without to save "hc.html" like read.delim( # :saveWidget(widget = chart))
I try to use function toHTML, bat I get error
Error in UseMethod("toHTML") :
no applicable method for 'toHTML' applied to an object of class "c('highchart', 'htmlwidget')"
Some ideas?

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.