Reputation: 63
I am using R programming to export a .dat file. but the exported file is always included the index column. Is there any possible way/ code to export data in R without index column?
Upvotes: 6
Views: 22415
Reputation: 4126
Lets say you are using write.table and your dataset is df then following will work for you
write.table(df,'df.dat',row.names=F)
Upvotes: 8