Learn R Programming

SciViews (version 0.8-8)

processSocket: The function that processes a command from the socket.

Description

This is the default R function called each time data is send by a client through a socket. It is possible to customize this function and to use customized versions for particular R socket servers.

Usage

processSocket(msg)

Arguments

msg
The message send by the client, to be processed.

Value

  • Returns a string with the result of the process.

See Also

startSocketServer, sendSocket

Examples

Run this code
##TO DO...

Run the code above in your browser using DataLab