dstrick1
2014-Jul-03 16:17 UTC
[R] How to hide the vector number output in write.table function?
What I'm trying to do should be simple enough, but I've been having some trouble - hence this post. I am attempting to output a tsv file directly from R but for some reason the write.table function is outputting the vector number for each set of values and thus offsetting all of my tab delimitations. I'll provide a visual: <http://r.789695.n4.nabble.com/file/n4693469/Screen_Shot_2014-07-03_at_12.png> At the moment, my write.table function looks like the following: write.table(results, file="name_of_file.csv", append="FALSE",col.names=c('gageID','sitename','lat','long'),sep="\t"). All I'd like to do is delete the first column (keeping the header), thus shifting each column to the left. Any ideas? Thanks, David -- View this message in context: http://r.789695.n4.nabble.com/How-to-hide-the-vector-number-output-in-write-table-function-tp4693469.html Sent from the R help mailing list archive at Nabble.com.