0

I am aware in jupyter notebooks with Python kernel one can run R code. My question is that is the reverse possible? So from R kernel, can we run Python code?

Ultimately, I would like to insert a page break in my jupyter notebook for when it is being exported into a PDF via LaTeX. As this answer explains, I need to run the following code:

from IPython.display import display, Math, Latex

which currently returns an error.

If there are alternative methods that can avoid this while staying in R kernel, please let me know.

Josh
  • 169
  • 5

0 Answers0