connection_view {connections} | R 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)
[Package connections version 0.2.0 Index]