Checking for non-preferred file/folder path names (may take a long time depending on the number of files/folders) ...

CUAHSI JupyterHub, Interfacing R from a Python3 Jupyter Notebook

Owners: This resource does not have an owner who is an active HydroShare user. Contact CUAHSI ( for information on this resource.
Type: Resource
Storage: The size of this resource is 14.8 KB
Created: Sep 25, 2019 at 5:20 p.m.
Last updated: Oct 01, 2019 at 9:53 p.m.
Citation: See how to cite this resource
Sharing Status: Public
Views: 1016
Downloads: 33
+1 Votes: Be the first one to 
Comments: No comments (yet)


Nowadays, there is a growing tendency to use Python and R in the analytics world for physical/statistical modeling and data visualization. As scientists, analysts, or statisticians, we oftentimes choose the tool that allows us to perform the task in the quickest and most accurate way possible. For some, that means Python. For others, that means R. For many, that means a combination of the two. However, it may take considerable time to switch between these two languages, passing data and models through .csv files or database systems. There's a solution that allows researchers to quickly and easily interface R and Python together in one single Jupyter Notebook. Here we provide a Jupyter Notebook that serves as a tutorial showing how to interface R and Python together in a Jupyter Notebook on CUAHSI JupyterHub. This tutorial walks you through the installation of rpy2 library and shows simple examples illustrating this interface.

Subject Keywords

Deleting all keywords will set the resource sharing status to private.


How to Cite

Garousi-Nejad, I., D. Tarboton (2019). CUAHSI JupyterHub, Interfacing R from a Python3 Jupyter Notebook, HydroShare,

This resource is shared under the Creative Commons Attribution CC BY.


There are currently no comments

New Comment