if (interactive()) {
replext_pgsql(
dbname = "your_db_name",
datatable = "your_data_table",
host = "localhost",
port = 5432,
user = "your_username",
password = "your_password"
)
}
Run the code above in your browser using DataLab