How To Run Python Files In R

R & Python are amazing languages for data processing / data engineering, however, there are certain things that Python can do that R can’t necessarily do (and vice versa). This includes packages included in Python that R doesn’t necessarily have. I’ll go ahead and show you exactly how to run python scripts inside of R.

To Get started, make sure you have both R and Python installed on your machine, if you don’t have them installed I have written articles on exactly how to do that (Python article here, R article here). Once installed, we want to go ahead and open up our R script…