Clearly its not the same but the workaround is the same. Just use file="" to see the .tex file or file="myfile.tex" followed by manual processing. with pdflatex or other tex engine to get final output.
On Jan 23, 2008 9:44 AM, Kevin E. Thorpe <[EMAIL PROTECTED]> wrote: > Gabor Grothendieck wrote: > > I don't use Mac but a workaround to this type of > > problem was discussed just recently here: > > > > https://stat.ethz.ch/pipermail/r-help/2008-January/151524.html > > > > Thanks, I actually remember reading that thread. However, I'm > not sure it's exactly the same problem in that, in my student's > case, everything works up to to point of calling xdvi. > > I can probably help her with a workaround involving running latex > manually, but will need to go back to the help page to remind > myself how to find out which LaTeX packages are in use. I > remember and example in one of them. > > > > > On Jan 23, 2008 9:22 AM, Kevin E. Thorpe <[EMAIL PROTECTED]> wrote: > >> Hello. > >> > >> I am posting this on behalf of a student in my class. I have been > >> introducing them to R. > >> > >> I suspect that the problem I need help with is not so much an R > >> issue, but a MAC config issue, but I don't have enough MAC > >> experience to know what to do. > >> > >> Anyway, on to the problem. We are using Frank Harrell's Hmisc > >> and Design packages. This student also wishes to use the latex > >> formatting facilities provided in those packages so she has installed > >> LaTeX. > >> > >> When she does something like latex(describe(dataframe)), the latex > >> file is produced, the dvi file is successfully written but then > >> the error "sh: line 1: xdvi: command not found" appears. > >> > >> I started a terminal and a "which xdvi" returned the path > >> where it found xdvi. So, it appears that xdvi is in the > >> PATH. > >> > >> My apologies, I forgot to get her sessionInfo() but I think > >> she is running R 2.6.? > >> > > > -- > Kevin E. Thorpe > Biostatistician/Trialist, Knowledge Translation Program > Assistant Professor, Department of Public Health Sciences > Faculty of Medicine, University of Toronto > email: [EMAIL PROTECTED] Tel: 416.864.5776 Fax: 416.864.6057 > ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.