Learn R Programming

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

jrc (version 0.4.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.4.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Svetlana Ovchinnikova

Last Published

September 25th, 2020

Functions in jrc (0.4.0)

callFunction

Trigger a function call
closeSession

Close one or several client sessions
allowDirectories

Allow server to access files in the directory
sendCommand

Send a command to a web page
getMessageIds

Get IDs of all stored messages
allowFunctions

Allow function calls without authorization
removeMessage

Removes a stored message
setSessionVariables

Adds variables to a session environment
removeSessionVariables

Remove variables from a client session environment
limitStorage

Change size of the message storage
openPage

Create a server
sendData

Send data to a web page
getPage

Get the currently running app
sendHTML

Send HTML to a web page
getSession

Get a session
setEnvironment

Set Environment
allowVariables

Allow variable assignment without authorization
getSessionIds

Get IDs of all active sessions
getSessionVariable

Get a variable from a client session environment
authorize

Authorize further message processing
Session

Session class
App

App class
closePage

Stop server