'Error in plot.window(...) : need finite 'ylim' values

I can run ggplot2 in Rstudio but when I am running same in shinydashboard, I am getting this error:

"Error in plot.window(...) : need finite 'ylim' values"

The problem is I have created dynamic input from server. I defaulted the dynamic input to first value of the list. based on the input selection I will do the subset of data and will plot.

I can run same in Rshiny but facing error while using shinydashboard package

r


Solution 1:[1]

check your NAs also: R: need finite 'ylim' values in function and https://stat.ethz.ch/pipermail/r-help/2012-January/299789.html

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Community