powered by
mc(...) provides a short way of connecting to an external MonetDB database. It is equivalent to dbConnect(MonetDB.R(),...)
mc(...)
dbConnect(MonetDB.R(),...)
mc(dbname="demo", user="monetdb", password="monetdb", host="localhost", port=50000, timeout=60, wait=FALSE,language="sql",...)
Database name
Username for database
Password for database
Host name of database server
TCP Port number of database server
Database connection and query timeout
Wait for DB to become available or not
Database language to be used (probably "sql")
Unused
Returns a DBI connection to the specified external MonetDB database.
dbConnect
# NOT RUN { con <- mc(dbname="demo",hostname="localhost") # }
Run the code above in your browser using DataLab