I am new to Process Mining and was conducting study to create process maps in R. I wrote the following script with loaded packages but cannot observe the plot. Now, while installing the processMapR package, I get an error mentioned below the script. Please help and also please tell me few good packges for process mining in R.
install.packages("bupaR")
install.packages("edeaR")
install.packages("eventdataR")
install.packages("processmapR")
install.packages("processmonitR")
install.packages("xesreadR")
patients %>%
filter_trim(start_activities = "Registration", end_activities = c("MRI
SCAN","X-Ray")) %>%
process_map(type = performance())
Error:
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck =
vI[[j]]) :
namespace 'grDevices' 3.3.1 is already loaded, but >= 3.4.0 is required
ERROR: lazy loading failed for package 'DiagrammeR'
* removing 'C:/Users/ashminkaul/Documents/R/win-library/3.3/DiagrammeR'