This vignette explains how you can host a problem set directly in the web using

1. Make sure you have installed all packages directly from github

The standard installation of RTutor and dependencies uses my own R repositorium.

However, if you want to host problem sets on, all packages have to be installed from CRAN or directly from Github.

Hence, if you have not done so, follow the corresponding installation instructions on

to reinstall your packages correspondingly.

2. Create the app skeleton with

The RTutor package has a function that creates a skeleton of your app directory and a file deployapp.r which contains commands to deploy your app.

Here is an example fore creating an app based on an .rps file:

  # Create app based on .rps = "Example" # problem set name
  libs = c("foreign", "ggplot2") # list of all libraries used by ps
  # Folder that contains your .rps file
  rps.dir = "D:/libraries/RTutor/examples"
  # Folder in which app shall be created
  app.dir = "D:/libraries/RTutor/examples/ExampleApp","RTutorExample",
                  app.dir=app.dir, rps.dir = rps.dir,
         = TRUE, libs=libs,overwrite=TRUE)

You must just adapt the names and directories in the example above.

Additional Options of

It is possible to use the parameter within to change the behavior of the generated problem set. = list(show.solution.btn=FALSE) for example transfers sets the option show.solution.btn to FALSE just as when using locally.

Providing the parameter as a list holding the Account info, i.e. = "<SHINYAPPS_USERNAME>", token = "<TOKEN>", secret = "<SECRET>") the created deployapps.R file already holds the desired info - otherwise it has to be changed in deployapps.R to upload.

3. Open deployapp.r and follow the described steps

Now in your app directory, e.g. “D:/libraries/RTutor/examples/ExampleApp” a file deployapp.r is created. Follow the steps described in this file to deploy your app on The file also contains the links that describe how to create a user account on