**Date: 2016-10-16
Author: Sebastian Kranz, Ulm University
RTutor is an R package that allows to develop interactive R exercises. Problem sets can be solved off-line or can be hosted in the web with shinyapps.io. Problem sets can be designed as a Markdown .rmd file (to be solved directly in RStudio) or use a browser-based interface powered by RStudio's Shiny. While the web interface looks nicer, I personally use problem sets in the Markdown format when teaching advanced economic classes.
For the web-based interface, several students at Ulm University have created very nice problem sets that allow to interactively replicate the main insights of interesting economic articles and to learn a bit about R and econometrics. Before developing your own problem sets, you may want to try out some of these examples:
To install RTutor with all required additional packages, just run in R
if (!require(devtools))
install.packages("devtools")
devtools::source_gist("gist.github.com/skranz/fad6062e5462c9d0efe4")
install.rtutor(update.github=TRUE)
library(RTutor)
If you only want to update the RTutor package (and have the other packages already installed). You can just type:
devtools::install_github("skranz/RTutor")
(You may have to restart your R session / RStudio for the update to work.)
Take a look at the files in the vignette folder for documentation of how to create own problem sets.
If you have suggestions or find bugs, please don't hesitate to open an issue on this github page. RTutor is still in a preliminary version and feedback is very appreciated.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.