"Brian Quinif" <[EMAIL PROTECTED]> writes:

> I am using R for Unix and want to make some LaTeX tables.  I have
> already played around in R for Windows and have succeeded in making
> tables that I want using the following code:
> 
> latex(Estimates, file='out.tex', rowlabel='',digits=3)
> 
> However, when I use this code in Unix, I can never find the file
> "out.tex".  I assumed that R would send the file to whatever directory
> I was working in, but that does not seem to be the case.  So, I tried
> specifiying the exact location where I want the file:
> 
> latex(Estimates, file='/home/b/bquinif/bq/9095/out.tex', rowlabel='',digits=3)
> 
> When I do that, I get an error message sayin that the file/directory
> does not exist.  I have written lots of files from Stata to locations
> specified like above, so I don't understand what's going on.
> 
> Can anyone help me straighten this out?

I assume you mean latex() from the Hmisc package? You might want to
ask its maintainer. I can't reproduce your problem though; I get the
file nicely in the current directory. (I got slightly bugged by
Frank's idea of having the print method run latex on the file and fire
up a viewer - didn't play well with a terminal login. However, that's
completely unrelated).

Can you give a completely reproducible example that others might try?

-- 
   O__  ---- Peter Dalgaard             Ă˜ster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - ([EMAIL PROTECTED])                  FAX: (+45) 35327907

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to