daemon: Start the 'IsoplotR' GUI without exiting

View source: R/IsoplotR.R

daemonR Documentation

Start the IsoplotR GUI without exiting

Description

Opens a web-browser with a Graphical User Interface (GUI) for the IsoplotR package. This function is intended to be used from Rscript so that Rscript does not terminate and the server stays up.

Usage

daemon(port = NULL, host = "127.0.0.1", timeout = 30)

Arguments

port

Internet port of the virtual server. If not defined, a random free port will be chosen and the browser will be opened to show the GUI.

host

IP address of the virtual server

timeout

How long (in elapsed time) an operation may take before returning with a timeout error. Default: 30 seconds.

Value

This function does not return.

Examples

# this function runs indefinitely unless interrupted by the user.
## Not run: daemon(3839)

pvermees/IsoplotRgui documentation built on March 29, 2024, 4:27 a.m.