Opened 21 months ago

#66984 assigned defect

R: error with generating png images: figure margins too large

Reported by: barracuda156 Owned by: i0ntempest
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: powerpc, leopard, snowleopard Cc:
Port: R

Description

Any idea how to fix this? Recurring error with a number of ports.

Example:

* checking examples ... ERROR
Running examples in ‘shinylight-Ex.R’ failed
The error most likely occurred in:

> ### Name: encodePlot
> ### Title: Renders a plot as a base64-encoded image
> ### Aliases: encodePlot
> 
> ### ** Examples
> 
> pdf <- encodePlot(grDevices::png, "image/png", 200, 300, function() {
+   barplot(c(1, 2, 3, 4))
+ })
Error in plot.new() : figure margins too large
Calls: encodePlot -> plotFn -> barplot -> barplot.default -> plot.new
Execution halted

Another one: https://github.com/rstudio/shiny/issues/3781

Change History (0)

Note: See TracTickets for help on using tickets.