[R] latex

Frank E Harrell Jr fharrell at virginia.edu
Wed Jul 3 14:40:40 CEST 2002


On Wed, 03 Jul 2002 14:19:26 +0200
Christian Schulz <c.schulz at metrinomics.de> wrote:

> Hi,
> i'm a newbie with latex and postscript but recognize
> the power in combination wit R .
> 
> ...current i don't now how i have to "inform" R1.5.0(patched) about my
> MikeTex installation on windows 2000  and get following
> 
> latex(table)
> 
> Warning messages:
> 1: cat not found
> 2: cd not found
> 3: xdvi not found
> 
> P.S. maybe i must define in Rprofile something ???
> 
> Thanks for help and suggestions,
> Christian

Christian,

You need to state which packages you are using.  If you are using the latex function in the Hmisc library, I have to admit to putting more work into that for Linux/Unix than for Windows.  The functions such as print.latex and related ones need modification for Windows (volunteers welcome) or you need to carefully set up your system so that the latex and xdvi commands are in your system path and also install the cygwin utilities (to get cat, cd, etc.).  The functions do check options(latexcmd= xdvicmd= dvipscmd=) which you can easily specify for your LaTeX installation (and put in .Rprofile) when your executables are not "latex" "xdi" "dvips".  

Note that to use latex just for creating the .tex file (e.g., w <- latex(myobject,fi='/tmp/my.tex') you only need to get the "latex" executable working with latex( ).  -Frank Harrell

> 
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


-- 
Frank E Harrell Jr              Prof. of Biostatistics & Statistics
Div. of Biostatistics & Epidem. Dept. of Health Evaluation Sciences
U. Virginia School of Medicine  http://hesweb1.med.virginia.edu/biostat
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list