[R] a question about "latex" in Hmisc and .dvi file

Uwe Ligges ligges at statistik.tu-dortmund.de
Thu May 13 16:48:41 CEST 2010



On 13.05.2010 16:32, Felipe Carrillo wrote:
> HI:
> If you don't mind me asking this question about latex:
> Based on Duncan's comment:
> "The print method for "latex" objects tries to run latex and then display the resulting .dvi file.  (Or maybe it runs pdflatex and displays the .pdf file)."
> Where in MikTex can I change to pdflatex? everytime I use latex it displays the dvi file which is a problem because tables that I want to see landscaped don't work. Thanks


Run pdflatex rather than latex?

Uwe Ligges


> Felipe D. Carrillo
> Supervisory Fishery Biologist
> Department of the Interior
> US Fish&  Wildlife Service
> California, USA
>
>
>
> ----- Original Message ----
>> From: Duncan Murdoch<murdoch.duncan at gmail.com>
>> To: "Shi, Tao"<shidaxia at yahoo.com>
>> Cc: r-help at r-project.org
>> Sent: Wed, May 12, 2010 1:40:50 PM
>> Subject: Re: [R] a question about "latex" in Hmisc
>>
>> On 12/05/2010 4:33 PM, Shi, Tao wrote:
>> Hi Ista,
>>
>> Thanks
>> for the reply!
>>
>> You actually misunderstood me.  I never
>> objected the "tmp<- latex(x)" method (in fact, that's what I'm doing now in
>> my .Rnw file).  As I stated in my original post, I'm simply curious about
>> what causes the error window and wanted to get to the bottom of
>> it.
>>
> latex(x) returns an object of class "latex".  When
>> you don't assign it, it prints.  The print method for "latex" objects tries
>> to run latex and then display the resulting .dvi file.  (Or maybe it runs
>> pdflatex and displays the .pdf file).
>
> If you can't run latex, you can't
>> print those objects.  That's why you're getting an error.
>
> Duncan
>> Murdoch
>
> ______________________________________________
>> ymailto="mailto:R-help at r-project.org"
>> href="mailto:R-help at r-project.org">R-help at r-project.org mailing list
>> href="https://stat.ethz.ch/mailman/listinfo/r-help" target=_blank
>>> 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.
>
>
>
>
> ______________________________________________
> R-help at 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.



More information about the R-help mailing list