Last active
December 2, 2017 20:36
-
-
Save agberg/42ff7ef865b43a560ca0c34788e07d14 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If this were a working example then the function would take inputs, probably as (...) this was just hacked together as a connection to a particular datababase. | |
disable_connection_pane <- function(){ | |
saved_option = getOption("connectionObserver") | |
options(connectionObserver = NULL) | |
con <- DBI::dbConnect(odbc::odbc(), | |
dsn = "dsn") | |
options("connectionObserver" = saved_option) | |
con | |
} | |
con <- disable_connection_pane() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment