Learn R Programming

jrc (version 0.6.0)

Exchange Commands Between R and 'JavaScript'

Description

An 'httpuv' based bridge between R and 'JavaScript'. Provides an easy way to exchange commands and data between a web page and a currently running R session.

Copy Link

Version

Install

install.packages('jrc')

Monthly Downloads

284

Version

0.6.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Svetlana Ovchinnikova

Last Published

August 23rd, 2023

Functions in jrc (0.6.0)

authorize

Authorize further message processing
removeSessionVariables

Remove variables from a client session environment
getSession

Get a session
getSessionVariable

Get a variable from a client session environment
listen

Listen to the server
getPort

Get number of the port on which the local server is running
sendCommand

Send a command to a web page
getPage

Get the currently running app
getSessionIds

Get IDs of all active sessions
openPage

Create a server
sendData

Send data to a web page
removeMessage

Removes a stored message
setEnvironment

Set Environment
setLimits

Set security limits
sendHTML

Send HTML to a web page
setSessionVariables

Adds variables to a session environment
closeSession

Close one or several client sessions
allowDirectories

Allow server to access files in a directory
App

App class
allowFunctions

Allow function calls without authorization
closePage

Stop server
allowVariables

Allow variable assignment without authorization
getMessageIds

Get IDs of all stored messages
Session

Session class
callFunction

Trigger a function call