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.
IRdisplay has functions to rich display "stuff", which includes images:
library("IRdisplay")
display_png(file="plot.png)
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)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With