Hi,
Is it possible to reconnect to remote tibble after losing the connection and establishing a new one, without having to run the code for the tbl again?
library(DBI)
library(odbc)
library(dplyr)
con <- dbConnect(odbc(),
...)
df_db <- tbl(con, "df")
dbDisconnect(con)
con <- dbConnect(odbc(),
...)
#function to reestablish connection with the "df_db" using con
Thanks!