When using R and Python code, it’s best handled with RStudio Server Pro.

“Take control of your R and Python code. An integrated development environment for R and Python, with a console, syntax-highlighting editor that supports direct code execution, and tools for plotting, history, debugging and workspace management.”

App will also publish and distribute date with RStudio Connect. Our favorite for Python, website here.