# install.packages("rpivotTable")library(rpivotTable)# Works best in HTML output; drag-and-drop just like Excel PivotTablesrpivotTable(data = tx,rows ="city",cols ="year",vals ="sales",aggregatorName ="Sum",rendererName ="Heatmap")
41.6.2 Code generation and wrangling (visual)
# install.packages("esquisse")library(esquisse)# Launch the GUI to build ggplots and dplyr pipelines interactivelyesquisse::esquisser(tx)