vh.connect {VhayuR}R Documentation

Connect to Vhayu server.

Description

Connecting to Vhayu.

Usage

vh.connect(server = vh.getOption("server"), port = vh.getOption("port"), ...)
vh.findDLL(dllpath = vh.getOption("dllpath"), dllname = "VhayuR.dll", verbose = vh.getOption("verbose"))
vh.loadDLL(dllpath = vh.getOption("dllpath"), verbose = vh.getOption("verbose"))

Arguments

server String representing IP address of Vhayu server.
port Port. Normally not set explicitly. Default value is usually fine.
... Not used.
dllpath Character vector of directories searched for dll.
dllname The name of the dll.
verbose Give additional messages when running.

Details

vh.findDLL locates the dynamic load library (a file with extension dll) on the dllpath and returns the complete pathname to it. vh.loadDLL loads the dynamic load library, VhayuR.dll. It sets the Vhayu option "loaded" to TRUE.

vh.connect first calls vh.loadDLL if it is not already loaded and then sets the the correct IP. It sets the Vhayu option "connected" to TRUE.

Normally neither of these commands are used by users since they are automatically invoked the first time the package attempts to access the database.

Examples

## Not run: 
vh.loadDLL()
vh.connect()
## End(Not run)
vh.findDLL()
str(vh.options())

[Package VhayuR version 1.1.2 Index]