# set your database connection info here
.onLoad <- function(libname, pkgname) {
Sys.setenv("DB_HOST" = "localhost")
Sys.setenv("DB_USER" = "postgres")
Sys.setenv("DB_PASSWORD" = "postgres")
Sys.setenv("DB_NAME" = "postgres")
Sys.setenv("DB_PORT" = "5432")
Sys.setenv("DB_SCHEMA" = "public")
Sys.setenv("DATA_FILE_DIRECTORY" = file.path(getwd(), "data_files"))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.