[R] Plots not showing up in the RStudio plot pane
Jeff Newmiller
jdnewm|| @end|ng |rom dcn@d@v|@@c@@u@
Sat Feb 26 23:30:35 CET 2022
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" <hossainmm using 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.
More information about the R-help
mailing list