Re: [R] how to save summary(lm) and anova (lm) in format?

2010-07-06 Thread Paul Johnson
There are R packages that can make nice R regression tables in LaTeX documents. I've used memisc and its good, there is also apsrtable and the old standby xtable. Also I use my own function outreg, but that's just a 'not invented here' attitude. Your problem is that you need this to go into

[R] how to save summary(lm) and anova (lm) in format?

2010-07-02 Thread Yi
Hi, folks, I would like to copy the output of summary(lm) and anova (lm) in R to my word file. But the output will be a mess if I just copy after I call summary and anova. # x=rnorm(10) y=rnorm(10,mean=3) lm=lm(y~x) summary(lm) Call: lm(formula = y ~ x) Residuals: Min

Re: [R] how to save summary(lm) and anova (lm) in format?

2010-07-02 Thread David Winsemius
On Jul 2, 2010, at 1:34 PM, Yi wrote: Hi, folks, I would like to copy the output of summary(lm) and anova (lm) in R to my word file. But the output will be a mess if I just copy after I call summary and anova. A mess in what way exactly? # x=rnorm(10)

Re: [R] how to save summary(lm) and anova (lm) in format?

2010-07-02 Thread Yi
Hi, I attached a picture to compare the 'mess' to what I what. Maybe there is difference between computers? Thanks. On Fri, Jul 2, 2010 at 10:52 AM, David Winsemius dwinsem...@comcast.netwrote: On Jul 2, 2010, at 1:34 PM, Yi wrote: Hi, folks, I would like to copy the output of

Re: [R] how to save summary(lm) and anova (lm) in format?

2010-07-02 Thread David Winsemius
Nothing survived the trip through the list server. On Jul 2, 2010, at 1:59 PM, Yi wrote: Hi, I attached a picture to compare the 'mess' to what I what. Maybe there is difference between computers? Thanks. On Fri, Jul 2, 2010 at 10:52 AM, David Winsemius dwinsem...@comcast.net wrote:

Re: [R] how to save summary(lm) and anova (lm) in format?

2010-07-02 Thread Joshua Wiley
On Fri, Jul 2, 2010 at 10:59 AM, Yi liuyi.fe...@gmail.com wrote: Hi, I attached a picture to compare the 'mess' to what I what. Maybe there is difference between computers? Thanks. On Fri, Jul 2, 2010 at 10:52 AM, David Winsemius dwinsem...@comcast.netwrote: On Jul 2, 2010, at 1:34