writedlm写文件怎么换行?

a=[1,2,3,4]
open(“a.txt”,“w”) do f
writedlm(f,a,“,”)
end
如果像这样去写的话,文件中是一行用空格隔开的