iNZight: iNZight GUI

View source: R/iNZight.R

iNZightR Documentation

iNZight GUI

Description

Starts iNZight, optionally with data and a dispose function. For example, a script called to open iNZight can automatically exit R once the iNZight session is complete using q() (see examples).

Usage

iNZight(data = NULL, dispose_fun = NULL, ..., ui_env = parent.frame())

Arguments

data

a data frame

dispose_fun

called when the iNZight GUI is closed

...

arguments passed to dispose_fun

ui_env

pass parent environment to the GUI to used as a base envirionment for loading modules

Value

invisibly returns the iNZGUI object

Addon modules

By default, iNZight uses the iNZightVIT install path to locate the modules directory ('modules'). However, you can override this by specifying the addonDir argument:

iNZight(addonDir = '/path/to/modules')

Author(s)

Marco Kuper, Tom Elliott

Examples

## Not run: 
# to have iNZight quit R without saving after the session is over,
# you may use the following:
iNZight(dispose_fun = q, save = "n")

## End(Not run)

iNZightVIT/iNZight documentation built on April 8, 2024, 10:23 a.m.