Very simple example of analyzing wireshark traffic in R with GGplot2.
Captured packets for about 3 seconds for this example in wireshark, exported to .csv file. Imported the .csv file into R and did a simple bar chart of the different protocols
wireshark <- read_csv("wireshark")
wireshark$Protocol <- as.factor(wireshark$Protocol)