https://github.com/fellstat/ipc
Tools for message passing between processes
https://github.com/fellstat/ipc
Last synced: 13 days ago
JSON representation
Tools for message passing between processes
- Host: GitHub
- URL: https://github.com/fellstat/ipc
- Owner: fellstat
- License: other
- Created: 2018-08-02T23:09:21.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-02-10T17:01:12.000Z (about 2 years ago)
- Last Synced: 2025-03-28T02:06:13.646Z (18 days ago)
- Language: R
- Homepage:
- Size: 136 KB
- Stars: 55
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - fellstat/ipc - Tools for message passing between processes (R)
README
# The ipc Package
Asynchronous processing is critical for performing a wide array of tasks, from high performance computing to web services. Communication between these disparate asynchronous processes is often required. Currently the statistical computing language R provides no built in features to handle interprocess communication between R processes while they are performing computations. Several packages have been written to handle the passing of text or binary data between processes (e.g. `txtq`, `liteq`, and `zmq`). `ipc` allows you to easily pass R objects between processes along with an associated signal, and have handler functions automatically execute them in the receiving process.
There is particular focus on supporting asynchronous evaluation in Shiny applications. [Examples are included in the package](https://github.com/fellstat/ipc/tree/master/inst/apps) showing how to perform useful tasks such as:
* Updating reactive values from within future
* Progress bars for long running async tasks
* Interrupting async tasks based on user input.## Installation
To install the latest version from [CRAN](https://CRAN.R-project.org/package=ipc)
run:
```
install.packages("ipc")
```
To install the latest development version from the github repo run:
```
# If devtools is not installed:
# install.packages("devtools")devtools::install_github("fellstat/ipc")
```## Resources
* For a more detailed description of what can be done with the ``ipc`` package, **[see the introductory vignette](http://htmlpreview.github.io/?https://github.com/fellstat/ipc/blob/master/inst/doc/shinymp.html)**.
To run an example application locally use:
```
library(ipc)
shinyExample()
```## Development
[Development Practices and Policies for Contributers](../../wiki/How-to-Contribute:-Git-Practices)