In Jupyter Notebook or JupyterLab, I have option to save as LaTex (.tex) which is very useful in case I want to edit the file. In RStudio, with Knit, we can export R Notebook to beautiful Word or PDF documents.
I would like to ask how to export R Notebook to LaTex (.tex). Thank you so much for your help!