powered by
Populates the RStudio Connection viewer
connection_view( con, connection_code = "", host = "", name = "", connection_id = "" )
It populates the RStudio Connections pane. It returns nothing to the console or session.
Connection variable
Text of code to connect to the same source
Name of Host of the connection
Connection name
Unique ID of the connection for the current session
library(DBI) con <- connection_open(RSQLite::SQLite(), path = ":dbname:") connection_view(con) connection_close(con)
Run the code above in your browser using DataLab