mc: Shorthand connection constructor for external MonetDB

Description Usage Arguments Value See Also Examples

View source: R/dbi.R

Description

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

Usage

1
2
mc(dbname="demo", user="monetdb", password="monetdb", host="localhost", port=50000, 
  timeout=60, 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 external MonetDB database.

See Also

dbConnect

Examples

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

## End(Not run)

MonetDBLite documentation built on July 28, 2018, 1:02 a.m.