[R] printing out tables to a file using cat...

Greg Trafton trafton at itd.nrl.navy.mil
Thu Oct 4 21:10:43 CEST 2001


>>>>> Uwe Ligges writes:

>> how do I get the first format to show up in a file?

> See ?write.table

thanks!

I tried write.table and it comes out pretty dang ugly...

> write.table(table(showdistribution(nw.109.transitions, interruptions[1])))
"c..interruption....opened.map.." "Freq"
"1" "interruption" "1"
"2" "opened-map" "2"

but that's much better than some of the other options!

thanks again,
greg
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list