Reconnecting to remote tibble

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!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.