R and Python Together using Reticulate
Last updated
Last updated
Created by Chia, Jonathan on Apr 09, 2022
Reticulate lets you switch between Python and R in one R Markdown document
Notice that the python object flights was referenced in R using py$flights
You can code in Python and then switch to R for Shiny Dashboards
You can pick and choose your favorite packages from either R or Python - ggplot vs seaborn, caret vs sklearn, etc.
You can keep your R and python projects together in one place
You can create beautiful R markdown reports that display both R and Python outputs
Can feel a little clunky especially if you are used to Python IDE's
Python objects do not show up in the R environment window - it will show up if our R server is updated to have newest RStudio
You can use R in Jupyter Notebooks if you prefer Python
You have to be reliant on the reticulate package to use Python
See below link for more information:
https://rstudio.github.io/reticulate/
Document generated by Confluence on Apr 09, 2022 16:54