daattali / ggExtra

📊 Add marginal histograms to ggplot2, and more ggplot2 enhancements

Home Page:http://daattali.com/shiny/ggExtra-ggMarginal-demo/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Addin: errors messages in console

daattali opened this issue · comments

These messages did not used to exist but now when I run

plot <- ggplot2::ggplot(mtcars, ggplot2::aes(wt, mpg)) + ggplot2::geom_point()
plot2 <- ggMarginalGadget(plot)

I see

Warning: Error in graphics::plot.new: figure margins too large
  132: graphics::plot.new
  129: startPNG
  128: drawPlot
  114: <reactive:plotObj>
   98: drawReactive
   85: renderFunc
   84: output$plot
    4: shiny::runApp
    3: runGadget
    2: ggMarginalGadgetHelper [C:/Users/Dean-X1C/Documents/R/ggExtra/R/ggMarginalGadget.R#360]
    1: ggMarginalGadget [C:/Users/Dean-X1C/Documents/R/ggExtra/R/ggMarginalGadget.R#25]