mydf2config_make: Write configuration object for the mydf2 function.

Description Usage Arguments Value Examples

View source: R/mydf2.R

Description

Radmac2 requires that the mydfconfig object be either available in the current R workspace as a list or in the current working directory saved as 'mydfconfig.Rd'. By default, this function creates both the object in the current workspace and the saved object in the current working directory.

Usage

1
mydf2config_make(user, password, host, db = NULL, saveconfig = TRUE)

Arguments

user

Default username.

password

Password for default user.

host

Hostname for MySQL database

db

Optional default database

saveconfig

If TRUE saves the data object to the current working directory

Value

Null. Used for its side effect of writing the mydf2config object

Examples

1
2
mydf2config_make(user='jeffrey',password='34tgh',host='localhost',db='foo')
mydf2config_make(user='jeffrey',password='34tgh',host='localhost',saveconfig=FALSE)

jeffrey-franc/radmac2 documentation built on May 19, 2019, 3:59 a.m.