Using the DiagrammeR package to produce a process flow diagram in RStudio

Process flow diagrams are powerful tools for process analysis, and having created a way to produce them in R is one among the greatest credits to be given to Rich Iannone and his DiagrammeR package.

Generally speaking, this package leverages HTML widgets to let you build an R diagram of nearly every kind.

Even if more advanced and customizable tools are available as standalone software, DiagrammeR lets you easily integrate different parts of your analysis without leaving R.

Moreover, DiagrammeR is perfectly integrated in RStudio and the Shiny framework, which is one among the hottest tools in R community.

Getting ready

As usual, we first have to install and load the necessary ...

Get RStudio for R Statistical Computing Cookbook now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.