The
library(DBI)
con <- DBI::dbConnect(RPostgres::Postgres(),
user = 'postgres',
password = getOption('db.password.postgres'),
host = 'localhost',
port = '5432')
select now();
| now |
|---|
| 2020-03-23 00:16:36 |
1 + 1
## 2