Shorthand connection constructor for MonetDB

Share:

Description

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

Usage

1
2
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

1
2
3
4
## Not run: 
	con <- mc(dbname="demo",hostname="localhost")

## End(Not run)