MonetDB.R (version 1.0.1)

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,language="sql",...)

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

language

Database language to be used (probably "sql")

...

Unused

Value

Returns a DBI connection to the specified MonetDB database.

See Also

dbConnect

Examples

Run this code
# NOT RUN {
  con <- mc(dbname="demo",hostname="localhost")
# }

Run the code above in your browser using DataLab