write.arff(x, file, eol = "\n")
""
read.arff
write.arff(iris, file = "")
Run the code above in your browser using DataLab