title: Reading text file: read.table versus read_table
body: <p>I'm reading a text file from <a href="http://academic.udayton.edu/kissock/http/Weather/gsod95-current/OHCINCIN.txt" rel="nofollow">this webpage</a> into R. If I read this data with <code>read.table</code> the data is parsed correctly and I get data for all 12 months:</p>
  
  <pre><code>url &lt;- "http://academic.udayton.edu/kissock/http/Weather/gsod95-current/OHCINCIN.txt"
  
  temp_df1 &lt;- read.table(url,
                         col.names = c("Month", "Day", "Year", "Avg_Temp"),
                         na = "-99")
  
  head(temp_df1)
  Month Day Year Avg_Temp
  1     1   1 1995     41.1
  2     1   2 1995     22.2
  3     1   3 1995     22.8
  4     1   4 1995     14.9
  5     1   5 1995      9.5
  6     1   6 1995     23.8
  
  unique(temp_df1$Month)
  [1]  1  2  3  4  5  6  7  8  9 10 11 12
  </code></pre>
  
  <p>However, if I read this data in with <code>read_table</code> it will first appear that it is parsed correctly; however, the double digit month codes (10, 11, 12) are being stripped such that only the first digit is parsed.</p>
  
  <pre><code>temp_df2 &lt;- read_table(url,
                         col_names = c("Month", "Day", "Year", "Avg_Temp"),
                         na = "-99")
  
  head(temp_df2)
  # A tibble: 6 × 4
    Month   Day  Year Avg_Temp
    &lt;int&gt; &lt;int&gt; &lt;int&gt;    &lt;dbl&gt;
  1     1     1  1995     41.1
  2     1     2  1995     22.2
  3     1     3  1995     22.8
  4     1     4  1995     14.9
  5     1     5  1995      9.5
  6     1     6  1995     23.8
  
  unique(temp_df2$Month)
  [1] 1 2 3 4 5 6 7 8 9
  </code></pre>
  
  <p>The dimensions of the data are the same; however, I cannot figure out how to import the data with <code>read_table</code> to preserve the full <em>Month</em> coding.</p>
  
  <pre><code>dim(temp_df1)
  [1] 7963    4
  
  dim(temp_df2)
  [1] 7963    4
  </code></pre>