Learn R Programming

MonetDB.R (version 0.9.4)

monetdbd.liststatus: Get list of available databases from monetdbd

Description

The monetdbd daemon can be used to manage multiple MonetDB databases in UNIX-like systems. This function connects to it and retrieves information about the available databases. Please note that monetdbd has to be configured to allow TCP control connections first. This can be done by setting a passphrase, e.g. "examplepassphrase" (monetdbd set passphrase=examplepassphrase /path/to/dbfarm) and then switching on remote control (monetdbd set control=true /path/to/dbfarm).

Usage

monetdbd.liststatus(passphrase, host="localhost", port=50000L, timeout=86400L)

Arguments

passphrase
monetdbd passphrase, see description
host
hostname to connect to
port
TCP port where monetdbd listens
timeout
Connection timeout (seconds)

Value

  • A data.frame that contains various information about the available databases.

Examples

Run this code
print(monetdbd.liststatus("mypasshprase")$dbname)

Run the code above in your browser using DataLab