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.
1 | bye()
|
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.