Learn R Programming

RtutoR (version 2018.06.08)

add.hint: Add a hint to an exercise.

Description

Add a hint to an exercise.

Usage

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.