how to remove index column when export file in R
r
Solution
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)
Problem
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?