Whenever I draw a plot in RStudio, I get a new device window that appears. It is not always so. I must have changed some settings. How to change the settings back so that the graphs are displayed in the RStudio graph window?
I studied the dev.off()
and other dev
functions very well. For instance:
# Clear workspace rm(list=ls()) # create data set.seed(1) x <- rnorm(100, 0, 1) y <- rnorm(100, 3, 1) plot(x,y)
creates a popup on a screenshot:
I want the device to remain in the RStudio graph window in the lower right corner. Can anybody help? I saw a similar question here stating that the update will fix the problem. I updated in the last week. When I use sessionInfo()
, I run R version 3.3.2
, which I consider the latest version of R.
source share