Learn R Programming

rethinker (version 1.1.0)

isOpened: Check if connection is opened

Description

Check whether a given connection is opened. Closed connections cannot be used, and will throw errors on such an attempt; their associated callbacks and/or sync cursor are dead and won't fire/produce any more data.

Usage

isOpened(x)

Arguments

x

Connection to to check.

Value

TRUE if connection is opened and can be used for queries, FALSE otherwise.