Hej Try maybe: dev.off() before plotting. Regards, Vincent Edjabou Mobile: +45 31 95 99 33 linkedin.com/vincent <http://linkedin.com/in/vincent-maklawe-edjabou-9742a41b>
Orcid: 0000-0003-2849-6151 On Sat, Feb 26, 2022 at 11:04 PM Md. Moyazzem Hossain <hossai...@juniv.edu> wrote: > Dear R-experts, > > I hope that you are doing well. > > Whenever I use the plot command in RStudio, the plot is shown in a new > device window. I want the device to stay in the RStudio plot window in the > lower righthand corner. > > I have tried in the following way. > > 1. I have used the dev.off() command. It just closes the window but when I > use the plot command then a new window opened again. > 2. Tools->Global options->R Mark down In that phase select "window" from > that list in the "show output preview in:" then apply. > 3. Tools > Global Options > Pane Layout, "Plots" is checked. > 4. Update the RStudio. > > However, still have the same problem. > > I would be happy if anyone has any help to solve it. > Thanks in advance. > > Hossain > -- > Best Regards, > Md. Moyazzem Hossain > Associate Professor > Department of Statistics > Jahangirnagar University > Savar, Dhaka-1342, Bangladesh > Website: http://www.juniv.edu/teachers/hossainmm > Research: *[image: Google Scholar] > <https://scholar.google.com/citations?hl=en&user=-U03XCgAAAAJ>* | > *ResearchGate > <https://www.researchgate.net/profile/Md_Hossain107>* | *ORCID iD > <https://orcid.org/0000-0003-3593-6936>* > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.