| presentTalk {PBSmodelling} | R Documentation |
Start an R talk from a talk description file that launches a control GUI.
presentTalk(x, debug=FALSE)
x |
string name of talk description file. |
debug |
logical: if TRUE, the command line reflects indices and some booleans. |
presentTalk is a tool that facilitates lectures and workshops in R.
The function allows the presenter to show code snippets alongside their
execution, making use of R's graphical capabilities.
When presentTalk is called, a graphical user interface (GUI) is
launched that allows the user to control the flow of the talk (e.g.,
switching between talks or skipping to various sections of a talk.
The automatic control buttons allow the user
to move forward or backward in the talk. The GO button moves forward
one tag segment, the Back button moves back to the previous tag segment.
The blue buttons allow movement among sections - Start to the first
section of the talk, Prev to the previous section, Curr to the
start of the current section, and Next to the next section.
In addition to the automatic menu items, a user can add buttons to the GUI that accomplish similar purposes.
The use of chunk in the R code is equivalent to the use of
segment in the documentation.
See the PBSmodelling User's Guide for more information.