Learn R Programming

MonetDBLite (version 0.6.0)

mc: Shorthand connection constructor for external MonetDB

Description

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

Usage

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

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

Run the code above in your browser using DataLab