R software, making boxplot, need finite 'ylim' value
<pre><code>&gt; B&lt;-subset(olympic,sport=="basketball")
&gt; BM&lt;-subset(B,sex=="M"
+ )
&gt; boxplot(BM$height)
</code></pre>

<blockquote>
  <p>Error in plot.window(xlim = xlim, ylim = ylim, log = log, yaxs = pars$yaxs):<br>
        need finite 'ylim' values<br>
      In addition: Warning messages:<br>
      1: In min(x) : no non-missing arguments to min; returning Inf<br>
      2: In max(x) : no non-missing arguments to max; returning -Inf  </p>
</blockquote>

<p>This is what happened when I try to plot the graph. I'm new to <code>R</code>.</p>