Learn R Programming

Rdsm (version 1.1.0)

init: init

Description

Client calls this to register with the Rdsm server, which sends back the client's ID number and the total number of clients.

Usage

init(host="localhost",port=2000)

Arguments

host
Host IP address
port
Host TCP port number.

Details

This need be run just once per call of srvr() on the server side. Clients should not rerun init() if they wish to retain shared variables.