I want to write my data to a txt file in R. My data is a vector. Example: c(5,4,3,2,1). I want that data should look in txt: 5 4 3 2 1
How can I do that, I tried the writ