bye: Exit swirl.

Description Usage Examples

View source: R/swirl.R

Description

swirl operates by installing a callback function which responds to commands entered in the R console. This is how it captures and tests answers given by the user in the R console. swirl will remain in operation until this callback is removed, which is what bye() does.

Usage

1
bye()

Examples

1
2
3
4
5
6
7
8
9
## Not run: 

| Create a new variable called `x` that contains the number 3.

> bye()

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

## End(Not run)

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