Populates the RStudio Connection viewer

connection_view(
  con,
  connection_code = "",
  host = "",
  name = "",
  connection_id = ""
)

Arguments

con

Connection variable

connection_code

Text of code to connect to the same source

host

Name of Host of the connection

name

Connection name

connection_id

Unique ID of the connection for the current session

Examples

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