Package 'IsoplotRgui'

Title: Web Interface to 'IsoplotR'
Description: Provides a graphical user interface to the 'IsoplotR' package for radiometric geochronology. The GUI runs in an internet browser and can either be used offline, or hosted on a server to provide online access to the 'IsoplotR' toolbox.
Authors: Pieter Vermeesch [aut, cre], Tim Band [ctb]
Maintainer: Pieter Vermeesch <[email protected]>
License: GPL-3
Version: 6.5
Built: 2025-02-14 16:26:25 UTC
Source: https://github.com/pvermees/isoplotrgui

Help Index


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)

Start the IsoplotR GUI

Description

Opens a web-browser with a Graphical User Interface (GUI) for the IsoplotR package. An online version of the same interface is provided at https://www.ucl.ac.uk/~ucfbpve/isoplotr/

Usage

IsoplotR(
  host = if (daemonize) "0.0.0.0" else "127.0.0.1",
  port = NULL,
  timeout = Inf,
  daemonize = !is.null(port)
)

Arguments

host

IP address of the virtual server, default is 0.0.0.0

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.

timeout

How long (in wall-clock time) an operation may take before returning with a timeout error. Default: no limit.

daemonize

logical. If TRUE, runs as daemon.

Value

server object

Examples

IsoplotR()

Stop an IsoplotR GUI

Description

Stop an IsoplotR GUI

Usage

stopIsoplotR(server = NULL)

Arguments

server

The server (returned by IsoplotRgui::IsoplotR()) to stop. If not supplied all servers will be stopped.

Examples

s <- IsoplotR()
stopIsoplotR(s)