connection_view: Populates the RStudio Connection viewer

Description Usage Arguments Examples

View source: R/connection_view.R

Description

Populates the RStudio Connection viewer

Usage

1
2
3
4
5
6
7
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

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

edgararuiz/connections documentation built on Feb. 12, 2020, 9:57 a.m.