Spencer Graves
2016-Jul-28 13:56 UTC
[Rd] plot(1:3) malfunctions with par(bg='transparent')
Hello, All: Try the following: par(bg='transparent') plot(1:3) I get two plots superimposed, one over twice the size it should be, much of it outside the device region. Thanks for all you do to make R such a useful tool. People all over the world live better today, because R helps improve the effectiveness of data analysts. Spencer Graves > sessionInfo() R version 3.3.1 (2016-06-21) Platform: x86_64-apple-darwin13.4.0 (64-bit) Running under: OS X 10.11.6 (El Capitan) locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 attached base packages: [1] stats graphics grDevices utils datasets methods [7] base loaded via a namespace (and not attached): [1] rsconnect_0.4.3 tools_3.3.1
Martin Maechler
2016-Jul-28 14:07 UTC
[Rd] plot(1:3) malfunctions with par(bg='transparent')
>>>>> Spencer Graves <spencer.graves at prodsyse.com> >>>>> on Thu, 28 Jul 2016 08:56:39 -0500 writes:> Hello, All: > Try the following: > par(bg='transparent') > plot(1:3) well, "transparent" is even default... and I definitely can NOT see a problem with the above. > I get two plots superimposed, one over twice the size it should > be, much of it outside the device region. and definitely not what you describe. Can you give more details than the sessionInfo below ? such as if you are running R inside Rstudio, or ??? > Thanks for all you do to make R such a useful tool. People all > over the world live better today, because R helps improve the > effectiveness of data analysts. > Spencer Graves >> sessionInfo() > R version 3.3.1 (2016-06-21) > Platform: x86_64-apple-darwin13.4.0 (64-bit) > Running under: OS X 10.11.6 (El Capitan) > locale: > [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 > attached base packages: > [1] stats graphics grDevices utils datasets methods > [7] base > loaded via a namespace (and not attached): > [1] rsconnect_0.4.3 tools_3.3.1 > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel
Spencer Graves
2016-Jul-28 14:14 UTC
[Rd] plot(1:3) malfunctions with par(bg='transparent')
On 7/28/2016 9:07 AM, Martin Maechler wrote:>>>>>> Spencer Graves <spencer.graves at prodsyse.com> >>>>>> on Thu, 28 Jul 2016 08:56:39 -0500 writes: > > Hello, All: > > Try the following: > > > par(bg='transparent') > > plot(1:3) > > well, "transparent" is even default... and I definitely can NOT > see a problem with the above. > > > I get two plots superimposed, one over twice the size it should > > be, much of it outside the device region. > > and definitely not what you describe. > > Can you give more details than the sessionInfo below ? > > such as if you are running R inside Rstudio, or ???Yes: Inside RStudio. You are correct: It seems to be something with RStudio: I just tested it with R in a Terminal, and this worked fine. Thanks. That gives me more options for working around this problem. Spencer> > > Thanks for all you do to make R such a useful tool. People all > > over the world live better today, because R helps improve the > > effectiveness of data analysts. > > > > Spencer Graves > > > >> sessionInfo() > > R version 3.3.1 (2016-06-21) > > Platform: x86_64-apple-darwin13.4.0 (64-bit) > > Running under: OS X 10.11.6 (El Capitan) > > > locale: > > [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 > > > attached base packages: > > [1] stats graphics grDevices utils datasets methods > > [7] base > > > loaded via a namespace (and not attached): > > [1] rsconnect_0.4.3 tools_3.3.1 > > > ______________________________________________ > > R-devel at r-project.org mailing list > > https://stat.ethz.ch/mailman/listinfo/r-devel
Seemingly Similar Threads
- plot(1:3) malfunctions with par(bg='transparent')
- BUG?: On Linux setTimeLimit() fails to propagate timeout error when it occurs (works on Windows)
- In plot.ts, las=1 applies to ylab with multiple series and not to axis labels
- problem plotting "ts" in a data.frame
- R not responding (must force quit) when saving graphic to PDF (bug?)