LG_shiny_interface_0_RW_log: Link, read, or write, to the deep levels of 'TS_logging'

View source: R/LG_shiny_interface_0_RW_log.R

LG_shiny_interface_0_RW_logR Documentation

Link, read, or write, to the deep levels of TS_logging

Description

This internal function takes care of the logging that is required in order for the LG_shiny-interface to update properly.

Usage

LG_shiny_interface_0_RW_log(.env, .env2, .RW = c("L", "R", "W"))

Arguments

.env

The environment where TS_logging lives.

.env2

The environment containing the two lists input and output. This argument is only required when we want to update the input-list.

.RW

Either L (Link), R (Read) or W (Write). This argument specifies if we should provide a link to the environment of interest, should read from it or write to it. If left unspecified, the default will be L.

Value

When the .RW-argument is L, the function will return a link to the environment-node containing the values to be used when creating the deeper parts of the shiny-interface. The value R implies that the stored data will be used to update the internal input_triggers and input-lists, whereas the value W instead writes from these objects to the environment.


LAJordanger/localgaussSpec documentation built on May 6, 2023, 4:31 a.m.