client: Client Launcher

Description Usage Arguments Details Value

View source: R/client.r

Description

Connect to a remote server (launch the client).

Usage

1
2
client(addr = "localhost", port = 55555, password = NULL,
  prompt = "remoter", timer = FALSE, serialversion = NULL)

Arguments

addr

The remote host/address/endpoint.

port

The port (number) that will be used for communication between the client and server. The port value for the client and server must agree.

password

An initial password to pass to the server. If the server is not accepting passwords, then this argument is ignored. If the initial pasword is incorrect, then assuming the server's maxretry>1, then you will be interactively asked to enter the password.

prompt

The prompt to use to delineate the client from the normal R REPL.

timer

Logical; should the "performance prompt", which shows timing statistics after every command, be used?

serialversion

NULL or numeric; the workspace format version to use when serializing. NULL specifies the current default version. The only other supported values are 2 and 3.

Details

The port values between the client and server must agree. If they do not, this can cause the client to hang. The client is a specialized REPL that intercepts commands sent through the R interpreter. These commands are then sent from the client to and evaluated on the server. The client communicates over ZeroMQ with the server using a REQ/REP pattern. Both commands (from client to server) and returns (from server to client) are handled in this way.

To shut down the server and the client, see exit().

Value

Returns TRUE invisibly on successful exit.


wrathematics/remoter documentation built on Oct. 27, 2019, 4:20 a.m.