aRTconn-createDb {aRT} | R Documentation |
Create a new database from a virtual connection and returns a connection to it.
## S4 method for signature 'aRTconn': createDb(con, dbname, delete)
con |
Object of class aRTconn . |
dbname |
Database name. |
delete |
Delete the database if it already exists? Default is FALSE. |
Pedro Ribeiro de Andrade
openDb
opens (without create) databases.
aRTconn
shows the description of this class.
## Not run: con=openConn() database = createDb(con, "database") dbx = createDb(con, "database") # error, database exists db = createDb(con, "database", delete=TRUE) # OK ## End(Not run)