user1322720
user1322720

Reputation:

How to have multiple windows in R

I'm using R on my university computer. When I plot something, the plot appears in the same window, on top of my console window.

Here's a screenshot of the problem (from Windows):

enter image description here

How can I tell R to open the plot in a separate window?

I cannot change any system files.

System info:

Upvotes: 6

Views: 4371

Answers (1)

sgibb
sgibb

Reputation: 25726

Have a look at ?dev.new:

plot(1:10)
dev.new()
plot(1:10)

EDIT: If you using the default Rgui you maybe want to select the SDI (Single Document Interface) layout. You have to go to Edit->GUI preferences and select SDI instead of MDI. Then hit Save and OK and restart your Rgui.

Upvotes: 7

Related Questions