Skip to contents

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
#> <connConnection>
connection_close(con)