Search code examples
rstudior-markdownviewerrnotebook

Rstudio notebook viewer doesn't show the code


I have recently downloaded the Rstudio and I created a R Notebook. However the "Viewer" doesn't show me the Notebook when I save it (in the instructions says it works). I have seen the same issue in other forums, but with no answers.

The viewer should show the code in the notebook when I save it, but it doesn't. Any idea why?


Solution

  • I had the same doubt, but i found it here: Tools -> Global options -> R markdown -> Show output preview in, then select Viewer Pane. Next time you click preview (not save) it'll be showed where you want.

    enter image description here