Basic R in Jupyter

Start a new R notebook and call it R Basics. We can enter a small script just so we can see how the steps progress for an R script. Enter the following into separate cells of your notebook:

myString <- "Hello, World!"
print (myString)

You will end up with a starting screen that looks like this:

Basic R in Jupyter

We should note the aspects of the R notebook view:

  • We have the R logo in the upper-right corner. You will see this logo running in other R installations.
  • There is also the peculiar R O just below the R icon. The unfilled circle indicates that the kernel is at rest, and the filled circle indicates the kernel is working.
  • The rest of the menu ...

Get Learning Jupyter now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.