connection_open {connections}R 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)

[Package connections version 0.2.0 Index]