Description Usage Arguments Details Value Note Author(s) See Also Examples
Open connections to a MonetDB database
1 |
... |
all MonetDB connection parameters for the MAPI client library |
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
Returns an object that contains the MonetDB connection object that you can then use to pass to RMonetClose, RMonetQuery, and RMonetGetInfo.
Not much to note here.
Piers Harding
RMonet
, RMonetConnect
, RMonetGetInfo
, RMonetQuery
, RMonetLoadDataFrame
, RMonetExecute
, RMonetClose
, RMonetStartTransaction
, RMonetCommit
, RMonetIsConnected
, RMonetQuote
, RMonetUnQuote
, RMonetExists
, RMonetListTables
, RMonetListFields
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.