O'Reilly logo

Learning Jupyter by Dan Toomey

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

R visualizations in Jupyter

A common use of R is to use several visualizations, which are available depending on the underlying data. In this section, we will go over some of them to see how R interacts with Jupyter.

R 3D graphics in Jupyter

One of the packages available for 3D graphics is persp. The persp package draws perspective plots over a 2D space.

We can enter a basic persp command in a new notebook and have something like this:

R 3D graphics in Jupyter

Once we run the step (Cell | Run All), we can see the display in the following screenshot. The first part is the script involved to generate the graphic (this is part of the example code):

Then we see the following ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required