'Incomplete final line' warning when trying to read gender.gmt file into R
<p>I am trying to read all lines from the gmt file but I am always getting the same warning.</p>

<p>Here is the command and warning:</p>

<pre><code>C &lt;- readLines( file("~/gender.gmt") )
</code></pre>

<p>Warning message:</p>

<pre><code>In readLines(file("~/gender.gmt")) :incomplete final line found on '~/gender.gmt'
</code></pre>

<p>I couldn't understand how to complete this incomplete line and what does it mean?</p>

<p>Here is some information I tried but of no help:</p>

<p>Incomplete final line when trying to read csv in R</p>

<p>Hope someone can help. Thank you.</p>