knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
You can wrap print methods of R objects in a
iris%>% details::details(summary = 'data.frame')
iris%>% tibble::as_tibble()%>% details::details(summary = 'tibble')
list(a = 1,b = head(iris))%>% details::details(summary = 'list')
Plots can be rendered and uploaded to imgur (default) or read in from a local path. In this example we use a local path in order to abuse the host site.
details( plot(x=mtcars$mpg,y=mtcars$wt), summary = 'plots', imgur = FALSE)
Tables can be wrapped in a details block by setting the
lang to 'none'
iris%>%head()%>%knitr::kable()%>% details( summary = 'tables', lang = 'none' )
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.