Answers for "r write matrix to file"

0

r write matrix to file

library(MASS)
mat <- matrix(1:100,nrow=20)
write.matrix(mat,'/path/to/file.txt',sep = "\t")
Posted by: Guest on September-16-2020

Browse Popular Code Answers by Language