Learn R Programming

phuse (version 0.2.2)

run_example: Run example

Description

run examples stored in the example folder.

Usage

run_example(example = NA, pkg = "phuse", port = NULL,
  launch.browser = getOption("shiny.launch.browser", interactive()),
  host = getOption("shiny.host", "127.0.0.1"), display.mode = c("auto",
  "normal", "showcase"))

Arguments

example

Example name

pkg

package name

port

Port number

launch.browser

define the browser- shiny.launch.browser

host

define the host or ip address

display.mode

modes are auto, normal or showcase

Examples

Run this code
# NOT RUN {
  library(phuse)
  run_example("02_display")
# }

Run the code above in your browser using DataLab