To prevent row names to be written to file while using write.csv, you can set the row.names argument to FALSE.
Where,
row.names:- Either a logical value indicating whether the row names of x are to be written along with x, or a character vector of row names to be written.
In your case:
write.csv(t, "t.csv", row.names=FALSE)