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


Authors:
Owners: This resource does not have an owner who is an active HydroShare user. Contact CUAHSI (help@cuahsi.org) 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: 1325
Downloads: 34
+1 Votes: Be the first one to 
 this.
Comments: No comments (yet)

Abstract

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

Content

How to Cite

Garousi-Nejad, I., D. Tarboton (2019). CUAHSI JupyterHub, Interfacing R from a Python3 Jupyter Notebook, HydroShare, http://www.hydroshare.org/resource/74b91eab1c9149d98e07579db544deae

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

http://creativecommons.org/licenses/by/4.0/
CC-BY

Comments

There are currently no comments

New Comment

required