Dear Jeff Newmiller Thank you very much for your reply.
Take care. Hossain On Sat, Feb 26, 2022 at 10:30 PM Jeff Newmiller <jdnew...@dcn.davis.ca.us> wrote: > This mailing list is about R, not RStudio [1]. RStudio normally sets up > the default graphics device to be their IDE device, but details as to why > that behavior may be broken for you wouldn't normally be discussed here. > > FWIW if you are using some contributed package it may bypass the default > graphics device setting... but you have not provided a reproducible example > so no one else could know if that could be the problem. > > You may also have a `.Rprofile` R file in your home directory with some > commands in it that could mess with your settings. > > [1] https://community.rstudio.com/ > > On February 26, 2022 2:03:53 PM PST, "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 > > -- > Sent from my phone. Please excuse my brevity. > -- 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.