This repository contains the R package, tutorialTK, that has some functions and data that I find helpful when writing tutorials and presentations. Here are some use cases:
library(devtools)
install_github("johnsonra/tutorialTK")
I have a couple of colorblind-friendly palletes I've included with this package.
library(datasets)
princomp(iris[,1:4])$scores %>%
cbind(iris) %>%
ggplot(aes(Comp.1, Comp.2, color = Species)) +
geom_point() +
scale_color_manual(values = cbb8[1:3])
If you find yourself trying to think, talk and type at the same time
while recording a tutorial, ghostwriter
might be a good tool for you.
Start by putting the text you want to type into a file (e.g.
code.txt
), and have ghostwriter
write an AppleScript file to do the
typing for you (sorry, Linux and Windows users - any similar solutions
for those systems is welcome).
ghostwriter('code.txt')
Here is an example of a ghostwriter
script typing while I talk.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.