nxt: Begin the upcoming question or unit of instruction.

Description Usage Examples

View source: R/swirl.R

Description

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

Usage

1
nxt()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
## 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...

## End(Not run)

swirldev/swirl documentation built on Jan. 17, 2020, 6:28 p.m.