I have in R a list like this:
> print(head(mylist,2)) [[1]] [1] 234984 10354 41175 932711 426928 [[2]] [1] 1693237 13462
Each eleme
I solve this problem by mixing the solutions above.
sink("/Users/my/myTest.dat") writeLines(unlist(lapply(k, paste, collapse=" "))) sink()
I think it works well