Skip to content
Prev 173889 / 398502 Next

Save the elements of an atomic vector to a text fil

I can save a atomic vector with the write.table function so far...

But how can I save 2 vectors to a text file ? I tried to do it by "merging"
2 vector to 1 vector like this here:

summary_vector<-c(vector1, vector2)

and tried to write the contents of summary_vector to a textfile with:

write.table(summary_vector, file= "(my file etc.)")

But I cann't write 2 vectors with this function to a file...
can anybody help how to do ?

greetings,
johnh
Usuario R wrote: