View source: R/connection-view.R
connection_view | R Documentation |
Populates the RStudio Connection viewer
connection_view(
con,
connection_code = "",
host = "",
name = "",
connection_id = ""
)
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 |
It populates the RStudio Connections pane. It returns nothing to the console or session.
library(DBI)
con <- connection_open(RSQLite::SQLite(), path = ":dbname:")
connection_view(con)
connection_close(con)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.