Error : unable to start png() device - Rshiny

Hi All,

I am using latest version of R and RStudio and working on a project in which i have to implement various statistical and forecasting techniques with different plot as per the input from the user. Everything is on track except the plotting part. When I am trying to pass a object over ui from server ( r- Shiny) for some plot , I am getting the below error:-
"
Warning in pngfun(filename = filename, width = width, height = height, res = res, :
unable to allocate bitmap
Warning in pngfun(filename = filename, width = width, height = height, res = res, :
opening device failed
Warning: Error in pngfun: unable to start png() device
127: pngfun
126: startPNG
125: drawPlot
111: reactive:plotObj
95: drawReactive
82: origRenderFunc
81: output$lag_plot
1: runApp
"
and over a Application( web page ) , i am getting the below error:-
"unable to start png() device".

I would really appreciate if someone help me out.

Regards,
Arjun

Hi Ashu, welcome!

To help us help you, could you please prepare a repr oducible ex ample (reprex) illustrating your issue? Please have a look at this guide, to see how to create one for a shiny app

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.