[R-SIG-Mac] Error resizing a plot window: Error in UseMethod("depth") :
Brandon Hurr
brandon.hurr at gmail.com
Tue Aug 29 17:49:59 CEST 2017
Tim,
I've run the example code on the page below and resized the plots with no
errors.
https://cran.r-project.org/web/packages/cowplot/vignettes/plot_grid.html
It may have something to do with running High Sierra, or the specific
code/data you are using.
Could you post a reproducible example?
Brandon
sessionInfo()
R version 3.4.1 (2017-06-30)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Sierra 10.12.6
/snip
devtools::session_info()
Session info
----------------------------------------------------------------------------
setting value
version R version 3.4.1 (2017-06-30)
system x86_64, darwin15.6.0
ui AQUA
language (EN)
collate en_US.UTF-8
tz America/Los_Angeles
date 2017-08-29
Packages
--------------------------------------------------------------------------------
package * version date source
base * 3.4.1 2017-07-07 local
colorspace 1.3-2 2016-12-14 CRAN (R 3.4.0)
compiler 3.4.1 2017-07-07 local
cowplot * 0.8.0 2017-07-30 CRAN (R 3.4.1)
datasets * 3.4.1 2017-07-07 local
devtools 1.13.0 2017-05-08 CRAN (R 3.4.0)
digest 0.6.12 2017-01-27 CRAN (R 3.4.0)
ggplot2 * 2.2.1.9000 2017-07-27 Github (tidyverse/ggplot2 at b2b58f1)
graphics * 3.4.1 2017-07-07 local
grDevices * 3.4.1 2017-07-07 local
grid 3.4.1 2017-07-07 local
gtable 0.2.0 2016-02-26 CRAN (R 3.4.0)
labeling 0.3 2014-08-23 CRAN (R 3.4.0)
lazyeval 0.2.0 2016-06-12 CRAN (R 3.4.0)
memoise 1.1.0 2017-04-21 CRAN (R 3.4.0)
methods * 3.4.1 2017-07-07 local
munsell 0.4.3 2016-02-13 CRAN (R 3.4.0)
plyr 1.8.4 2016-06-08 CRAN (R 3.4.0)
Rcpp 0.12.12 2017-07-15 cran (@0.12.12)
rlang 0.1.1.9000 2017-08-01 Github (tidyverse/rlang at ff87439)
scales 0.4.1.9002 2017-07-27 Github (hadley/scales at 6db7b6f)
stats * 3.4.1 2017-07-07 local
tibble 1.3.3 2017-05-28 cran (@1.3.3)
tools 3.4.1 2017-07-07 local
utils * 3.4.1 2017-07-07 local
viridisLite 0.2.0 2017-03-24 cran (@0.2.0)
withr 1.0.2 2016-06-20 CRAN (R 3.4.0)
On Tue, Aug 29, 2017 at 8:26 AM, BATES Timothy <tim.bates at ed.ac.uk> wrote:
> Resized a plot window and got this error in the console
>
> Error in UseMethod("depth") :
> no applicable method for 'depth' applied to an object of class "NULL"
>
>
> The plot was two ggplot2 graphs side by side, made using
> cowplot::plot_grid()
>
> Set up is
> R version: R version 3.4.1 (2017-06-30)
> Platform: x86_64-apple-darwin15.6.0
> MacOS: 10.13 Beta (17A352a)
>
>
> Is there a githuib or other page to log bugs in Mac R.app?
>
> best, tim
>
>
> --
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
[[alternative HTML version deleted]]
More information about the R-SIG-Mac
mailing list