add.hint: Add a hint to an exercise.

Description Usage Arguments

Description

Add a hint to an exercise.

Usage

1
add.hint(hint.name, code, cond = NULL, ex = get.ex())

Arguments

hint.name

A name for the hint

code

R code inside that will be evaluated in sol.env when the hint is shown. A hint could show messages via cat, but it could also show a plot.


skranz/RTutor2 documentation built on May 30, 2019, 2:01 a.m.