This document provides a side-by-side comparison of code samples in R and Python for common data science tasks. It covers topics like IDEs, data operations, manipulation, visualization, machine learning, text mining and more. For each topic, the document lists the main packages/functions used in R and Python and provides brief code examples. The goal is to give beginners a basic introduction to how similar tasks are accomplished in both languages.