Only works if a package with problem sets is loaded. For problem sets stored in a local .rps file, use show.ps() instead
run.ps(user.name, ps.name = info$ps[1], dir = getwd(), package = NULL,
load.sav = TRUE, sav.file = paste0(user.name, "_", ps.name, ".sav"),
sample.solution = FALSE, run.solved = FALSE, import.rmd = FALSE,
rmd.file = paste0(ps.name, "_", user.name, "_export.rmd"),
offline = !can.connect.to.MathJax(), left.margin = 2, right.margin = 2,
info = get.package.info(package), deploy.local = !make.web.app,
make.web.app = FALSE, save.nothing = make.web.app,
pkg.dir = path.package(info$package), rps.dir = find.pkg.rps.dir(ps.name,
pkg.dir), material.dir = find.pkg.material.dir(ps.name, pkg.dir), ...)
Your user name
Name of the problem set. By default the first problem set name of your manually loaded RTutor problem set package.
your working directory for the problem set
name of the package that contains your problem set
Default=TRUE Shall a previously saved solution be loaded?
Optional an alternative name for the saved solution
shall the sample solution be shown?
if sample.solution or load.sav shall the correct chunks be automatically run when the problem set is loaded? (By default FALSE, since starting the problem set then may take quite a while)
shall the solution be imported from the rmd file specificed in the argument rmd.file
name of the .rmd file that shall be imported if import.rmd=TRUE
(FALSE or TRUE) Do you have no internet connection. By default it is checked whether RTutor can connect to the MathJax server. If you have no internet connection, you cannot render mathematic formulas. If RTutor wrongly thinks you have an internet connection, while you don't, your chunks may not show at all. If you encounter this problem, set manually offline=TRUE.
number of colums for left margin in browser window (total columns=12)
number of colums for right margin in browser window (total columns=12)
the package directory under which problem set files are searched under pkg.dir/ps/ps.name/. Will be set by default to currently loaded RTutorProblemSet package
directory of rps.files. Will be set to default for current package
directory of additional problem set files. Will be set to default for current package