Search Stack Overflow for your most recent error message.
You can install the package with devtools as such:
# install.packages("devtools")
devtools::install_github("dgrtwo/tracestack")
Load it with
library(tracestack)
Then after you get an error message, simply run:
tracestack()
As an experiment, this package was written entirely in GitHub's file editor on an iPhone. As an alternative to RStudio, I do not neccessarily recommend it.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.