I save my ggplotly object using saveWidget() function. If I do it with selfcontained=TRUE option, all HTML dependencies (javascript librar
ggplotly
saveWidget()
selfcontained=TRUE