DBI Package issue in Server .R file

unable to find an inherited method for function ‘dbGetQuery’ for signature ‘"OraConnection", "shiny.render.function

getting above error when I am trying to execute below statement in server.R

Output$tbl<- renderTable({con2 <- dbConnect(drv, username = XXX
password = XXXX, dbname = db1)
dbGetQuery(con2, "Select * from EMP")})

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