[R] Latex and r

From: moleps <moleps2_at_gmail.com>
Date: Wed, 16 Jun 2010 17:00:22 +0200

Dear Rers

Im trying to get a summary table using latex and summary in the rms package to no avail. Im running R 2.10.1, Mac OS X snow leopard and I have the mactex 2009 distribution installed. Any obvious things Im missing?


sex <- factor(sample(c("m","f"), 500, rep=TRUE)) age <- rnorm(500, 50, 5)
treatment <- factor(sample(c("Drug","Placebo"), 500, rep=TRUE)) f <- summary(treatment ~ age + sex + Symptoms, method="reverse", test=TRUE)


results in the following:

This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009) entering extended mode

LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh yphenation, german-x-2009-06-19, ngerman-x-2009-06-19, ancientgreek, ibycus, ar

abic, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish, dutc
h, esperanto, estonian, farsi, finnish, french, galician, german, ngerman, mono
greek, greek, hungarian, icelandic, indonesian, interlingua, irish, italian, ku
rmanji, latin, latvian, lithuanian, mongolian, mongolian2a, bokmal, nynorsk, po lish, portuguese, romanian, russian, sanskrit, serbian, slovak, slovenian, span ish, swedish, turkish, ukenglish, ukrainian, uppersorbian, welsh, loaded.
Document Class: report 2007/10/19 v1.4h Standard LaTeX document class
No file file587f83cb.aux.
*geometry auto-detecting driver*
*geometry detected driver: dvips*

Overfull \hbox (1.14412pt too wide) in paragraph at lines 9--23  []
[1] (./file587f83cb.aux)

LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.

(see the transcript file for additional information) Output written on file587f83cb.dvi (1 page, 1620 bytes). Transcript written on file587f83cb.log.
sh: xdvi: command not found

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. Received on Wed 16 Jun 2010 - 15:08:13 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 16 Jun 2010 - 19:30:31 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive