Learn R Programming

IsoplotRgui (version 6.4)

daemon: 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)

Value

This function does not return.

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.

Examples

Run this code
# this function runs indefinitely unless interrupted by the user.
if (FALSE) daemon(3839)

Run the code above in your browser using DataLab