Skip to contents

Creates or updates the .Renviron file with placeholders for a new database connection.

Usage

setupRenviron(
  dataSourceName,
  dbName,
  dbUser,
  dbPassword,
  dbHost,
  dbPort,
  scriptFolder = ""
)

Arguments

dataSourceName

(character) name of the new data source, something like "xyDBname", "14CSea", "CIMA", "IntChron", "LiVES". The name of the source must be contained exactly as a column name in the mapping file.

dbName

(character) database name

dbUser

(character) database user

dbPassword

(character) database password

dbHost

(character) database host

dbPort

(character) database port

scriptFolder

(character) place to store the scripts.