connection_open: Opens a connection

View source: R/connection-open.R

connection_openR Documentation

Opens a connection

Description

Opens a connection

Usage

connection_open(..., open_pane = TRUE)

Arguments

...

Passes arguments to wrapped connection function

open_pane

Signals for the RStudio Connections pane to open. Defaults to TRUE.

Value

Returns a NULL object. If using the RStudio IDE, it will attempt to open the connection

Examples

library(DBI)
con <- connection_open(RSQLite::SQLite(), path = ":dbname:")
con
connection_close(con)

edgararuiz/connections documentation built on Jan. 26, 2024, 9:23 p.m.