Learn R Programming

DIZutils (version 0.0.13)

set_env_vars: set_env_vars helper function

Description

Internal function to set environment variables that are necessary for the database connections with db_connection.

Usage

set_env_vars(env_file)

Arguments

env_file

A character. The full path including the file name to the file containing the environment variable definitions to be loaded.

Value

No return value, called for side effects (see description)

See Also

Sys.setenv

Examples

Run this code
# NOT RUN {
set_env_vars("./.env")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab