Learn R Programming

swirl (version 2.2.21)

info: Display a list of special commands.

Description

Display a list of the special commands, bye(), play(), nxt(), skip(), and info().

Usage

info()

Arguments

Examples

Run this code
| Create a new variable called `z` that contains the number 11.

> info()

| When you are at the R prompt (>):
| -- Typing skip() allows you to skip the current question.
| -- Typing play() lets you experiment with R on your own; swirl will ignore what
| you do...
| -- UNTIL you type nxt() which will regain swirl's attention.
| -- Typing bye() causes swirl to exit. Your progress will be saved.
| -- Typing info() displays these options again.

> bye()

| Leaving swirl now. Type swirl() to resume.

Run the code above in your browser using DataLab