2 Installing Statamarkdown

This package gives you a little more control over Stata execution and the inclusion of Stata output in your document than the engine I originally wrote for knitr. Most knitr users won't need this capability, so I've put it in this separate package.

Statamarkdown can be installed from github.com by using the remotes or devtools package. Installing Statamarkdown from GitHub is guaranteed to be my latest version.

library(remotes) # you may need to install the remotes package

If for some reason that gives you problems, you can also install from this website.

# For Windows
install.packages("https://www.ssc.wisc.edu/~hemken/Stataworkshops/Statamarkdown/Statamarkdown_0.7.0.zip", repos=NULL)

# For linux or Mac
install.packages("https://www.ssc.wisc.edu/~hemken/Stataworkshops/Statamarkdown/Statamarkdown_0.7.0.tar.gz", type="source", repos=NULL)

(This page was written using Statamarkdown version 0.7.1.)