Learn R Programming

Rdsm (version 1.0.0)

init: init

Description

Client calls this to check in 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 init on the server side. Multiple runs of serverloop at the latter need not be accompanied by reruns of init by the clients, and in fact the clients should not rerun the function if they wish to retain the current shared variables.