Abstractions for Promise-Based Asynchronous Programming

Provides fundamental abstractions for doing asynchronous programming in R using promises. Asynchronous programming is useful for allowing a single R process to orchestrate multiple tasks in the background while also attending to something else. Semantics are similar to 'JavaScript' promises, but with a syntax that is idiomatic R.

Build Status

A promise library for R. https://rstudio.github.io/promises



The CRAN version of Shiny doesn't (yet) support promises. Until support is merged, you'll have to install from GitHub:





promises 1.0

  • Initial CRAN release

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("promises") by Joe Cheng, a year ago

https://rstudio.github.io/promises/, https://github.com/rstudio/promises

Report a bug at https://github.com/rstudio/promises/issues

Browse source code at https://github.com/cran/promises

Authors: Joe Cheng [aut, cre] , RStudio [cph, fnd]

Documentation:   PDF Manual  

MIT + file LICENSE license

Imports R6, Rcpp, later, rlang, stats, magrittr

Suggests testthat, future, fastmap, purrr, knitr, rmarkdown, vembedr, spelling

Linking to later, Rcpp

Imported by DT, TKCat, TreeSearch, ambiorix, dragon, httpuv, plotly, plumber, plumbertableau, shiny, shinyTree, shinydashboard, shinyrecap, skpr.

Suggested by condformat, coro, googlePubsubR, ipc, microservices, pagedown.

See at CRAN