[Rd] plot(1:3) malfunctions with par(bg='transparent')

Spencer Graves spencer.graves at prodsyse.com
Thu Jul 28 16:14:12 CEST 2016



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



More information about the R-devel mailing list