swirl (version 2.4.5)

nxt: Begin the upcoming question or unit of instruction.

Description

This is the way to regain swirl's attention after viewing a video or play()'ing around in the console.

Usage

nxt()

Arguments

Examples

Run this code
# NOT RUN {
| Create a new variable called `y` that contains the number 8.

> play()

| Entering play mode. Experiment as you please, then type nxt()
| when you ready to resume the lesson.

> 10/14
> [1] 0.7142857
> zz <- 99
> zz
> [1] 99
> nxt()

| Resuming lesson...
# }

Run the code above in your browser using DataLab