React Helpers

Make it easy to use 'React' in R with helper dependency functions, embedded 'Babel' transpiler, and examples.

CRAN_Status_Badge Travis-CI Build Status

A set of convenience function with local dependencies for using React in R. This is modeled after the html_dependency_* functions from RStudio's rmarkdown package.


You can install reactR from github with:

# install.packages("devtools")


        'Powered by React'

reactR also uses V8 if available to transform JSX and ES2015 code.

      babel_transform('ReactDOM.render(<h1>Powered By React/JSX</h1>,document.body)')

Contributing and Code of Conduct

I welcome contributors. Help make this package great. Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.


reactR 0.1.4

  • Update react and react-dom to 16.1.1

reactR 0.1.3

  • Update react and react-dom to 16.0.0
  • Update babel to 6.26.0

reactR 0.1.2

  • Update to react 15.5.0
  • Update to babel 6.24.0
  • Add office-fabric-react example
  • Build doc site with pkgdown

reactR 0.1.1

  • Added a file to track changes to the package.
  • Provide offline babel-standalone for babel_transform

reactR 0.1.0

  • Initial release

Reference manual

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


0.2.0 by Kent Russell, a month ago

Report a bug at

Browse source code at

Authors: Facebook Inc [aut, cph] (React library in lib,; see AUTHORS for full list of contributors), Kent Russell [aut, cre] (R interface)

Documentation:   PDF Manual  

MIT + file LICENSE license

Imports htmltools

Suggests htmlwidgets, rmarkdown, shiny, V8, knitr

Enhanced by listviewer.

See at CRAN