G Run ggtree in Jupyter notebook
If you have Jupyter notebook installed on your system, you can install IRkernel with the following command in R:
install.packages("IRkernel")
::installspec() IRkernel
Then you can use ggtree and other R packages in Jupyter notebook. Here is a screenshot of recreating Figure 8.6 in Jupyter notebook.

Figure G.1: ggtree in Jupyter notebook. Running ggtree in Jupyter notebook via R kernel.