Skip to content

Instantly share code, notes, and snippets.

@rfaelens
Created December 3, 2019 10:17
Show Gist options
  • Save rfaelens/9dc31900c8e6601f2b978be4f5c4ec43 to your computer and use it in GitHub Desktop.
Save rfaelens/9dc31900c8e6601f2b978be4f5c4ec43 to your computer and use it in GitHub Desktop.
library(timevis)
z <- timevis()
file1 <- tempfile(fileext=".html")
htmlwidgets::saveWidget(z, file1, selfcontained=TRUE)
rstudioapi::viewer(url=file1)
file2 <- tempfile(fileext=".html")
htmlwidgets::saveWidget(z, file2, selfcontained=FALSE)
rstudioapi::viewer(url=file2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment