[R] Hmisc summary.formula.reverse export problem

2007-03-30 Thread Lauri Nikkinen
Dear R-users, I'm trying to export object taulu3 from R to a text file (separated with semicolon). Object taulu3 is made with summary.formula in Hmisc package: taulu3 - summary(sp ~ pdg_newtext, data=tr_ekahj, method=reverse, overall=TRUE) class(taulu3) [1] summary.formula.reverse When I try to

Re: [R] Hmisc summary.formula.reverse export problem

2007-03-30 Thread Prof Brian Ripley
Well, write.table works on 'tables', that is matrix-like objects. An object summary is not matrix-like. You may be looking for capture.output(print(taulu3), file=O:/taulu1.txt) On Fri, 30 Mar 2007, Lauri Nikkinen wrote: Dear R-users, I'm trying to export object taulu3 from R to a text file

Re: [R] Hmisc summary.formula.reverse export problem

2007-03-30 Thread Lauri Nikkinen
Thanks Brian, I was trying to get that object printed out with columns separated by semicolon. The reason for this is that I'm trying to get it to MS Excel. If this is not possible, I probably should turn into using Latex. -Lauri 2007/3/30, Prof Brian Ripley [EMAIL PROTECTED]: Well,