title: How to remove first column of auto generated counts from an R merged file?
body: <p>I have merged two files in R using <code>merge</code> and named it as 'mergedfile'. When I save the file as .txt on my desktop using <code>write.table(&quot;mergedfile&quot;, &quot;~/Desktop/mergedfile.txt&quot;, sep = &quot;\t&quot;)</code>, it adds an autogenerated column of row numbers in the file. How can I remove this column without loosing any original headers' name in the file when using <code>write.table</code> or another way to save the merged file on Desktop that doesn't include the first autogenerated column of row numbers?</p>