Learn R Programming

⚠️There's a newer version (0.6.0) of this package.Take me there.

jrc (version 0.3.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.3.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Svetlana Ovchinnikova

Last Published

January 14th, 2020

Functions in jrc (0.3.0)

openPage

Create a server
getSession

Get a session
getSessionIds

Get IDs of all active sessions
setEnvironment

Set Environment
setSessionVariables

Adds variables to a session environment
removeMessage

Removes a stored message
Session

Session class
limitStorage

Change size of the message storage
sendData

Send data to a web page
sendCommand

Send a command to a web page
removeSessionVariables

Remove variables from a client session environment
getSessionVariable

Get a variable from a client session environment
sendHTML

Send HTML to a web page
closePage

Stop server
authorize

Authorize further message processing
App

App class
closeSession

Close one or several client sessions
getMessageIds

Get IDs of all stored messages
allowFunctions

Allow function calls without authorization
callFunction

Trigger a function call
getPage

Get the currently running app
allowVariables

Allow variable assignment without authorization