Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rstudio - How to show plot output in bottom right pane?

Tags:

rstudio

I used a qplot, but instead of the plot showing in the plots tab on the bottom right, it decides to show in the top left. How do I move all the outputs to the bottom right pane?

enter image description here

like image 817
pollux Avatar asked Nov 29 '22 00:11

pollux


2 Answers

I have version 1.0.44 of RStudio on a mac - you are using RMarkdown, which, by default in recent versions, causes output to be shown inline within the markdown page.

To undo this behavior, open RStudio->Preferences, and select the R Markdown group on the left. Uncheck the box that says "Show output inline for all R Markdown documents".

Screenshot

like image 184
Anand Avatar answered Dec 09 '22 10:12

Anand


The answer above is correct for Mac - in the Windows version of R Studio, select 'Tools' --> 'Global Options...' and you will be brought to the window that you see in that post.

like image 40
Marquistador Avatar answered Dec 09 '22 11:12

Marquistador