RMonetConnect: RMonet Open Connections to the database

Description Usage Arguments Details Value Note Author(s) See Also Examples

Description

Open connections to a MonetDB database

Usage

1

Arguments

...

all MonetDB connection parameters for the MAPI client library

Details

RMonetConnect establishes an open database connection to the specified MonetDB There are two styles of passing the connection parameters: - RMonetConnect('db.yml') where the name of A YAML encoded file containing MonetDB connection parameters is passed in - RMonetConnect(dbhost='localhost', dbuser='voc', dbpass='voc', dbname='voc', ...) The individual connection parameters are passed as per the requirements of the MonetDB mapi library These parameters are typically: * dbhost - the host and socket connection string/uri of MonetDB * dbuser - MonetDB user name * dbpass - user password * dbname - MonetDB name

Value

Returns an object that contains the MonetDB connection object that you can then use to pass to RMonetClose, RMonetQuery, and RMonetGetInfo.

Note

Not much to note here.

Author(s)

Piers Harding

See Also

RMonet, RMonetConnect, RMonetGetInfo, RMonetQuery, RMonetLoadDataFrame, RMonetExecute, RMonetClose, RMonetStartTransaction, RMonetCommit, RMonetIsConnected, RMonetQuote, RMonetUnQuote, RMonetExists, RMonetListTables, RMonetListFields

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
# full parameter specification
con <- RMonetConnect(dbhost='localhost', dbuser='voc', dbpass='voc', dbname='voc')

or

# Use a YAML encoded parameter file
con <- RMonetConnect("db.yml")


## End(Not run)

piersharding/RMonet documentation built on May 25, 2019, 6:09 a.m.