add.hint: Add a hint to an exercise.

Description Usage Arguments

View source: R/RTutor.R

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 Oct. 7, 2017, 2:52 p.m.