connection_view: Populates the RStudio Connection viewer

View source: R/connection-view.R

connection_viewR Documentation

Populates the RStudio Connection viewer

Description

Populates the RStudio Connection viewer

Usage

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

Value

It populates the RStudio Connections pane. It returns nothing to the console or session.

Examples

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

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