Reticulate is a handy way to combine Python and R code. From the reticulate help page suggests that reticulate allows for: "Calling Python from R in a variety of ways including R Markdown, sourcing ...
We recommend installing Python using Anaconda, which additionally provides easy access to a wealth of python libraries and tools. Python can be downloaded or all operating systems. We recommend that ...