This following error occurs in when executing in RStudio, but not when executing the same code at the CLI.
Error in match.arg(on, paste0(“plotly_”, c(“click”, “hover”, “selected”)))
This plot was still in the viewer quadrant of RStudio, either under Plots or Viewer. This time I deleted the plot before proceeding. Does this make sense, or should I watch for some other problem in my previous RStudio session?
You were right. I ran the code of each sequence in turn, first generating the ggplot in the 'Plots' window, then the crosstalk::bscols output in the 'Viewer' window.
In between, I had done a check for package updates. There was one package that had a newer non-compiled version, so I downloaded and compiled that. There doesn't seem to be a log. Maybe I'm looking in the wrong place.
I think it was at that stage RStudio suggested I save my environment and restart. RStudio never returned, so I eventually force-quit. Everything that has been working has occurred since the forced restart.
Early in that aborted session, I had downloaded the 1.74Gb Main table main.csv file from GoogleCloudPlatform/covid-19-open-data (https://storage.googleapis.com/covid19-open-data/v2/main.csv) and read.csv'd it into RStudio. That took a while. Whether that had stressed some component to breaking, I don't know.