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".
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