Re: [R] Hmisc latex() does not want to work

2008-01-14 Thread John Kane
--- "Richard M. Heiberger" <[EMAIL PROTECTED]> wrote: > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of John Kane > Sent: Sunday, January 13, 2008 03:56 PM > > ## Not run: > latex(x) # creates x.tex in working directory > w <- latex(x, fil

Re: [R] Hmisc latex() does not want to work

2008-01-13 Thread Frank E Harrell Jr
Richard M. Heiberger wrote: > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of John Kane > Sent: Sunday, January 13, 2008 03:56 PM > > ## Not run: > latex(x) # creates x.tex in working directory > w <- latex(x, file='/tmp/my.tex') > --

Re: [R] Hmisc latex() does not want to work

2008-01-13 Thread Richard M. Heiberger
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Kane Sent: Sunday, January 13, 2008 03:56 PM ## Not run: latex(x) # creates x.tex in working directory w <- latex(x, file='/tmp/my.tex') - I think there

Re: [R] Hmisc latex() does not want to work

2008-01-13 Thread Frank E Harrell Jr
John Kane wrote: > Thank Frank, > > I simply seem to have misread part of the first > example > -- > x <- matrix(1:6, nrow=2, > dimnames=list(c('a','b'),c('c','d','enLine 2'))) > ## Not run: > latex(x) # creates x.tex in working directory > w <

Re: [R] Hmisc latex() does not want to work

2008-01-13 Thread John Kane
Thank Frank, I simply seem to have misread part of the first example -- x <- matrix(1:6, nrow=2, dimnames=list(c('a','b'),c('c','d','enLine 2'))) ## Not run: latex(x) # creates x.tex in working directory w <- latex(x, file='/tmp/my.tex') --

Re: [R] Hmisc latex() does not want to work

2008-01-13 Thread Frank E Harrell Jr
John Kane wrote: > Works just fine, thanks. I'll blame the help as > being very slightly ambiguous. From the help file: \section{Side Effects}{ creates various system files and runs various Linux/UNIX system commands which are assumed to be in the system path. } \details{ If running unde

Re: [R] Hmisc latex() does not want to work

2008-01-13 Thread John Kane
Works just fine, thanks. I'll blame the help as being very slightly ambiguous. Of course another 2-3 minutes experimenting and I should have gotten it. --- Gabor Grothendieck <[EMAIL PROTECTED]> wrote: > Try specifying the file= argument: > > latex(rr, file = "") > > On Jan 13, 2008 1:05

Re: [R] Hmisc latex() does not want to work

2008-01-13 Thread Gabor Grothendieck
Try specifying the file= argument: latex(rr, file = "") On Jan 13, 2008 1:05 PM, John Kane <[EMAIL PROTECTED]> wrote: > I seem to have a problem getting latex (Hmisc) to > work. > Any suggestions as to what I am doing wrong? > > Thanks > > > library(Hmisc) > aa <- data.frame(aa=1:10, bb=rnorm(10,

[R] Hmisc latex() does not want to work

2008-01-13 Thread John Kane
I seem to have a problem getting latex (Hmisc) to work. Any suggestions as to what I am doing wrong? Thanks library(Hmisc) aa <- data.frame(aa=1:10, bb=rnorm(10, 5, 2), cc=rnorm(10, 20, 4)) rr <- lm(cc~aa+bb, data=aa); rr latex(rr) > latex(rr) 'latex' is not recognized as an internal or externa