at work we have a database to which the following series of commands connected me from R.
library(RPostgreSQL)
drv <- dbDriver("PostgreSQL")
con <- DBI::dbConnect(
drv = drv,
host = "rocket.cluster-east-1.rds.amazonaws.com",
user = " webapp",
password = "1234",
dbname = "rocket"
)
I have tried to replicate the following parameters in R. But I have not been successful.
Currently I connect from pgAdmin but I am interested in connecting in R