swirl(resume.class = "default", ...)
bye()
while in the R
console, by hitting the Esc key while not in the R console, or by
entering 0 from the swirl course menu. swirl will print a goodbye
message whenever it exits.While swirl is in operation, it may be controlled by entering special
commands in the R console. One of the special commands is bye()
as discussed above. Others are play()
, nxt()
, skip()
,
and info()
. The parentheses are important.
Sometimes a user will want to play around in the R console without
interference or commentary from swirl. This can be accomplished by
using the special command play()
. swirl will remain in operation,
silently, until the special command nxt()
is entered.
The special command skip()
can be used to skip a question if
necessary. swirl will enter the correct answer and notify the
user of the names of any new variables which it may have created
in doing so. These may be needed for subsequent questions.
Finally, info()
may be used to display a list of the special commands
themselves with brief explanations of what they do.