stacomiR (version 0.5.4.3)

stacomi: Function that loads the loginwindow, tests connection, and then destroys the window

Description

Function that loads the loginwindow, tests connection, and then destroys the window

Usage

stacomi(gr_interface=TRUE,login_window=TRUE,database_expected=TRUE)

Arguments

gr_interface

Boolean, if TRUE the program will launch the graphical interface

login_window

Boolean, if TRUE a login window will be displayed asking the user to specify user name.

database_expected

Boolean, if TRUE pre launch tests will be run to test the connection validity

Examples

Run this code
# NOT RUN {
 require(stacomiR)
#launch stacomi with the graphical interface
 
# }
# NOT RUN {
	stacomi()
# }
# NOT RUN {
 # launch stacomi but do not prompt for password
 
# }
# NOT RUN {
	stacomi(login_window=FALSE)
# }
# NOT RUN {
#launch stacomi without connection to the database
stacomi(gr_interface=FALSE,login_window=FALSE,database_expected=FALSE)

# }

Run the code above in your browser using DataCamp Workspace