presentTalk {PBSmodelling} | R Documentation |
Run a Presentation in R
Description
Start an R talk from a talk description file that launches a control GUI.
Usage
presentTalk(talk)
Arguments
talk |
name of file containing XML code (e.g., |
Details
The function 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 –
Prev
to the previous section, Restart
to the start of
the current section, and Next
to the next section. Drop down
lists are provided for both indicating the current section and slide
number and as an additional interface for jumping between different
sections or slide numbers.
In addition to the automatic menu items, a user can add buttons to the GUI that accomplish similar purposes.
Note
See the PBSmodelling User's Guide for more information.
Author(s)
Alex Couture-Beil, Vancouver Island University, Nanaimo BC
See Also
See PBStalk-class
for more details on
PBSmodelling's talk presentation classes.
Examples
## Not run:
local(envir=.PBSmodEnv,expr={
cwd = getwd()
talk_dir <- system.file("examples", package = "PBSmodelling" )
setwd(talk_dir)
presentTalk( "swisstalk.xml" ) # closing the GUI should restore cwd
})
## End(Not run)