datashield.connections_find: Search for DSConnection objects in the analytic environment

Description Usage Arguments Value See Also

View source: R/datashield.connections.R

Description

If the user does not set the argument 'datasources' in the client side analysis functions, this function is called to search for DSConnection-class objects in the environment (default environment is the Global one). If one set of DSConnection objects is found, it is assigned to 'default.connections' symbol in the analytic environment. If more than one set of DSConnection objects is found and none of them is called 'default.connections', the function stops and suggests user to use the datashield.connections_default function.

Usage

1
datashield.connections_find(env = getOption("datashield.env", globalenv()))

Arguments

env

The environment where to search for the connection symbols. Try to get it from the 'datashield.env' option, with default to the Global Environment.

Value

Returns a list of DSConnection-class objects or stops the process

See Also

Other Connections management: datashield.connections_default(), datashield.connections()


DSI documentation built on June 22, 2021, 5:06 p.m.