Skip to contents

Launch xSpreadsheet example applications, and optionally, your system's web browser.

Usage

runExamples(example = NA, port = 3000)

Arguments

example

The name of the example to run, or NA (the default) to list the available examples.

port

The port to run the application on. Defaults to 3000.

Examples

## Only run this example in interactive R sessions
if (interactive()) {
  # List all available examples
  runExamples()

  # Run one of the examples
  runExamples("01_spreadSheet")

  # Print the directory containing the code for all examples
  system.file("examples", package="xSpreadsheet")
}