# Exchange Commands Between R and 'JavaScript'

## Documentation for package ‘jrc’ version 0.5.1

- DESCRIPTION file.

## Help Pages

allowDirectories | Allow server to access files in a directory
allowFunctions | Allow function calls without authorization
allowVariables | Allow variable assignment without authorization
App | App class
authorize | Authorize further message processing
callFunction | Trigger a function call
closePage | Stop server
closeSession | Close one or several client sessions
getMessageIds | Get IDs of all stored messages
getPage | Get the currently running app
getPort | Get number of the port on which the local server is running
getSession | Get a session
getSessionIds | Get IDs of all active sessions
getSessionVariable | Get a variable from a client session environment
openPage | Create a server
removeMessage | Removes a stored message
removeSessionVariables | Remove variables from a client session environment
sendCommand | Send a command to a web page
sendData | Send data to a web page
sendHTML | Send HTML to a web page
Session | Session class
setEnvironment | Set Environment
setLimits | Set security limits
setSessionVariables | Adds variables to a session environment