Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RStudio: can I pop out the source pane?

Tags:

I have a dual monitor and I wish I can pop out the "source pane"(where I edit my code), so that I can edit the code in one monitor and track everything else in another.

Does anyone know if this is possible? Thank you very much for your help.

like image 926
BlueFeet Avatar asked Jul 07 '15 21:07

BlueFeet


People also ask

How do I open source pane in RStudio?

There are two ways to open a new source window: Pop out an editor: click the Show in New Window button in any source editor tab. Tear off a pane: drag a tab out of the main window and onto the desktop; a new source window will be opened where you dropped the tab.

Where is the source pane in RStudio?

The source pane is on the left side on top. This is where you will write and edit your R programs and documents. The pane will have a tab for each open file. This pane is only present if there are files opened in the editor.

How do I change the pane layout in RStudio?

Just go to “Tools” –> “Global options” –> “Pane layout” and fix it. That's it! Just enjoy your improved RStudio, the program.

Can I open two windows in R?

With October 2021 version of R Studio (2021.09. 1 Preview) a great and – in my personal opinion – long awaited features is now available – multi windows or multi panes for viewing the R code.


1 Answers

This feature was just added to RStudio this week. You can try it in our daily builds (0.99.636 or newer):

https://dailies.rstudio.com/

To pop out your file to a new window, either:

  1. Drag the tab outside the RStudio window to where you want your new code window to appear, or
  2. Click the "Show in new window" button on the editor toolbar (it's next to forward/back)

If you try it, let us know what you think on the support forum.

like image 79
Jonathan Avatar answered Sep 29 '22 14:09

Jonathan