Learn R Programming

ipc (version 0.1.4)

Tools for Message Passing Between Processes

Description

Provides tools for passing messages between R processes. Shiny examples are provided showing how to perform useful tasks such as: updating reactive values from within a future, progress bars for long running async tasks, and interrupting async tasks based on user input.

Copy Link

Version

Install

install.packages('ipc')

Monthly Downloads

423

Version

0.1.4

License

MIT + file LICENCE

Issues

Pull Requests

Stars

Forks

Maintainer

Ian Fellows

Last Published

January 26th, 2023

Functions in ipc (0.1.4)

ShinyConsumer

A Consumer class with common task handlers useful in Shiny apps
ShinyProducer

A Producer with methods specific for Shiny
defaultSource

Get/set the class used to sink/read from the file system
TextFileSource

Reads and writes the queue to a text file
Producer

A Class for sending signals to a source
AsyncInterruptor

An interruptor useful for stopping child processes.
Queue

A Class containing a producer and consumer
Consumer

A Class for reading and executing tasks from a source
RedisSource

Reads and writes the queue to a redis db
AsyncProgress

A progress bar object where inc and set are usable within other processes
shinyExample

Run Example Shiny Apps
redisIdGenerator

Get/set the location for temporary files
stopMulticoreFuture

Stops a future run in a multicore plan
redisConfig

Get/set redis configuration
shinyQueue

Create a Queue object
ipc-package

Tools for performing async communication between workers in shiny
tempFileGenerator

Get/set the location for temporary files