Learn R Programming

MonetDB.R (version 0.8.0)

mc: Shorthand connection constructor for MonetDB

Description

mc(...) provides a short way of connecting to a MonetDB database. It is equivalent to dbConnect(MonetDB.R(),...)

Usage

mc(dbname="demo", user="monetdb", password="monetdb", host="localhost", port=50000, 
  timeout=86400, wait=FALSE,...)

Arguments

dbname
Database name
user
Username for database
password
Password for database
host
Host name of database server
port
TCP Port number of database server
timeout
Database connection and query timeout
wait
Wait for DB to become available or not
...
Unused

Value

  • Returns a DBI connection to the specified MonetDB database.

See Also

dbConnect

Examples

Run this code
con <- mc(dbname="demo",hostname="localhost")

Run the code above in your browser using DataLab