sendRObj: Send an R object through a tcl socket connection

Description Usage Arguments Value See Also

View source: R/server.R

Description

This is a slightly lower-level method than sendRshare to send data through a Tcl socket. It requires the user to know the name of the Tcl channel through which the data is to be sent.

Usage

1
  sendRObj(obj, sock, block = FALSE, timeout = 10L)

Arguments

obj

the R object to be sent. May be of any type.

sock

a chacter vector containing the Tcl socket identifier.

block

logical; whether to block for a response.

timeout

number of seconds to wait for a response if block = TRUE.

Value

invisibly returns TRUE for successful non-blocking sends, otherwise returns the response received for blocking sends.

See Also

sendRshare


Rshare documentation built on May 2, 2019, 5:23 p.m.

Related to sendRObj in Rshare...