Generate Local Host Bash/Batch

Usage

local_host(loc = QP("PRESENTATION"))

run_lh(loc = QP("PRESENTATION"))

Arguments

loc
The path to the presentation directory.

Value

Creates a .sh/.bat file that opens a local host to that directory.

Description

local_host - Create a .sh/.bat file to open a presentation with a local host.

run_lh - Create and run a local host.

Details

The user must have Python installed and on their path to be able to utilize this function. For more details see: http://www.youtube.com/watch?v=VlqpiKHz7Gw&feature=youtu.be.

Note

The .sh/.bat file can not be ran by clicking on the file from within RStudio. Either open the directory and click the file or use run_lh.

Examples

## local_host()## run_lh

Author

Dason Kurkiewicz and Tyler Rinker