A small prototype web app that I built using JS to study the usefulness of teaching R from the perspective of Python. Participants found that relating R to their more familiar Python language was useful and they found the incremental stepping through the code helpful. Note: You can skip all screens with google forms, which were used for the study itself.
An interactive lesson using learnr which can be used to teach Python programmers the basics of dataframe manipulation in R (base or tidyverse). The tutorial is different from others because it provides interactivity via code exercises to reinforce facts about R and relates to Python code / output using reticulate. The tutorial also points out “gotchas” when making the transition, as well as pointing out the advantages of tidyverse (
This is an ongoing project to automatically discover code behavior inconsistencies (WATs) between Python and R using corpus from Kaggle. The project makes use of rpy2 to parse through simple one-liner snippets across the Python and R notebooks. Once parsed, the snippets for each language are executed against generated or provided data. Finally, dataframe outputs are compared between Python and R snippets, using basic metrics like row/column dimensions, cell values and syntactic edit distance.