user3617525 user3617525 - 3 months ago 25
R Question

Display Images from file in R Jupyter notebook

I have an image on disk and want to display it in a markdown cell in an R Jupyter Notebook. How can I go about this?

I know with Python this as simple as importing the Image class from display.

Answer

In a markdown cell as you usually would in a Jupyter Python notebook:

<img src="../relative/path/to/img.png">

or

![image](../relative/path/to/img.png)
Comments