[R] Latex and r

moleps moleps2 at gmail.com
Wed Jun 16 19:33:04 CEST 2010

xdvi is installed in the same location as yours. I even did a reinstallment of mactex. Still doesnt work. But since I´m now convinced its related to my latex distribution I´ll take the problem elsewhere..



On 16. juni 2010, at 17.19, Prof Brian Ripley wrote:

> On Wed, 16 Jun 2010, Erik Iverson wrote:
>> moleps wrote:
>>> Dear R´ers
>>> I´m trying to get a summary table  using latex and summary in the rms
>>> package to no avail. I´m running R 2.10.1, Mac OS X snow leopard and
>>> I have the mactex 2009 distribution installed. Any obvious things I´m
>>> missing?
>>> file587f83cb.log. sh: xdvi: command not found
>> You apparently don't have xdvi installed, which is used to view the resulting
> xdvi is part of MacTeX 2009.  So the latter may be installed, but it is not in the path or incomplete or ....  I have
> tystie% which xdvi
> /usr/texbin/xdvi
>> document. How you get that installed on your OS, I don't know. Depending on what you're doing, you might want to use the "file" argument of latex function to output a latex file, and then do further processing.  Also, assigning the latex function call to a variable, x <- latex(...) will suppress printing of the object, which is ultimately what is trying to use xdvi.
>> ______________________________________________
>> 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.
> -- 
> Brian D. Ripley,                  ripley at stats.ox.ac.uk
> Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
> University of Oxford,             Tel:  +44 1865 272861 (self)
> 1 South Parks Road,                     +44 1865 272866 (PA)
> Oxford OX1 3TG, UK                Fax:  +44 1865 272595

More information about the R-help mailing list