[R] saving a data.frame to "\t" files

Andy Bunn abunn at montana.edu
Thu Mar 11 18:49:59 CET 2004


?write.table

setwd("c:\\temp")
myDF <- data.frame(A = rnorm(100), B = rnorm(100))
write.table(myDF, file = "myDF.dat", sep = "\t", quote = F, row.names =
F)

HTH, Andy




More information about the R-help mailing list