Skip to content

Instantly share code, notes, and snippets.

@muschellij2
Created November 16, 2018 16:56
Show Gist options
  • Save muschellij2/e9713c69fb92856db46785454e19a58b to your computer and use it in GitHub Desktop.
Save muschellij2/e9713c69fb92856db46785454e19a58b to your computer and use it in GitHub Desktop.
rsciinema Example
library(rsciinema)
data = asciicast( "# a comment\niris %>% \n dplyr::group_by(Species) %>%\n dplyr::summarise_all(mean)" )
tfile= tempfile(fileext = ".cast")
write_asciicast(data, tfile)
asciinema( tfile )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment