I just want to write a list of integers separated by spaces into a file in R. I can read a list separated by a space from a file using scan , but is there a function for the opposite? In other words, how can I write a vector of integers to a file so that I can scan file later to read the same vector in?
I don't want anything like save or write.table .
file-io r
Ryan thompson
source share