R plot.window(…)中出错:需要有限的';xlim&x27;价值观

R plot.window(…)中出错:需要有限的';xlim&x27;价值观,r,R,我已成功获得以下格式的数据结果: month Result 1 11/2017 98.66667 2 12/2017 97.78947 3 01/2018 96.13636 4 02/2018 96.40000 5 03/2018 94.00000 6 04/2018 97.92857 7 05/2018 95.75000 我现在尝试将其绘制为一个折线图: plot(month, Result, type="l") 但我得到以下错误: 月份变量存储为字符或因子。您

我已成功获得以下格式的数据结果:

     month   Result
 1 11/2017 98.66667
 2 12/2017 97.78947
 3 01/2018 96.13636
 4 02/2018 96.40000
 5 03/2018 94.00000
 6 04/2018 97.92857
 7 05/2018 95.75000
我现在尝试将其绘制为一个折线图:

plot(month, Result, type="l")
但我得到以下错误:


月份变量存储为字符或因子。您需要将其转换为日期类。有很多问题,所以解决这个转换。有一个相同的错误消息在他们的标题吨帖子。你读过这些书吗?和。在发布问题之前,请先在互联网上搜索一下。grokbase上的这篇文章几乎完全相同。
Error in plot.window(...) : need finite 'xlim' values
In addition: Warning messages:
1: In xy.coords(x, y, xlabel, ylabel, log) : NAs introduced by coercion
2: In min(x) : no non-missing arguments to min; returning Inf
3: In max(x) : no non-missing arguments to max; returning -Inf