![]() ![]() ![]() If I was well-funded and wanted much more than a notebook I'd probably go with Sense, a notebook-like-IDE-like pipelining system (you can demo it here). We actually could do all of this outside a notebook environment, but in general notebook systems are more sharable, interactive, and completely appropriate for demonstrations. We need to decide on a platform and here I'm focusing on notebooks. But who says you can't do the heavy statistics, machine learning and/or graphics in R within Python? This blog is not about comparing the two languages, however, simply about options to pipeline them and maybe a bit on why you would want to do so.įirst things first. Python is both a general purpose language and it is agreed in some places it's really a production-ready coding language. ![]() It is agreed R has crisp, clean and journal-quality graphics as well as an incredible arsenal of statistical packages. Having pretty equal footing in both languages makes pipelining them together when need be an attractive option as I have my favorite aspects of each. I learned R and Python at about the same time. ![]() Even in Jupyter notebooks, using the python kernel, one can use "R magics" to execute native R code (which actually relies on rpy2). Both languages have packages/modules which allow for the other language to be used within it (rpy2 in Python and rPython in R). Rather, I'm simply going to suggest to play to the strengths of each language and consider using them together in the same pipeline if you don't want to give up advantages of one over the other. I am not going to argue about which is better or pit Python and R against each other. As a Data Scientist, I refuse to choose between R and Python, the top contenders currently fighting for the title of top Data Science programming language. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |