R 笔记(2)

Posted on 2014-08-20 12:20  wintor12  阅读(115)  评论(0)    收藏  举报

incomplete final line found by...

The message indicates that the last line of the file doesn't end with an End Of Line (EOL) character (linefeed (\n) or carriage return+linefeed (\r\n)). The original intention of this message was to warn you that the file may be incomplete; most datafiles have an EOL character as the very last character in the file.

The remedy is simple:

  1. Open the file
  2. Navigate to the very last line of the file
  3. Place the cursor the end of that line
  4. Press return
  5. Save the file

 

博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3