The following code
library(Hmisc)
x = 1:10
y = x
latex(summary(x~y),table.env=FALSE)
latex(summary(cbind(x,y)),table.env=FALSE)
should produce latex output that is not a table. The second one
produces just a tabular, as it should. However, the first one produces a
tabular embedded in a table.
steve wrote:
The following code
library(Hmisc)
x = 1:10
y = x
latex(summary(x~y),table.env=FALSE)
latex(summary(cbind(x,y)),table.env=FALSE)
should produce latex output that is not a table. The second one
produces just a tabular, as it should. However, the first one produces a
Hello all.
I have encountered at problem when using the Hmisc package to generate
latex-tabels.
I can't seem to control the number of digits in the latex-file. I have
used the Design and Hmisc packages for a while without this problem, but
after upgrading to R-2.4.0 the problem has
Hello all.
Sorry for reposting this message, but I accedently sent it in
HTML-format the first time.
I have encountered at problem when using the Hmisc package to generate
latex-tabels.
I can't seem to control the number of digits in the latex-file. I have
used the Design and Hmisc packages
Henrik Frederik Thomsen HFTH at DCE.AU.DK writes:
I have encountered at problem when using the Hmisc package to generate
latex-tabels.
I can't seem to control the number of digits in the latex-file. I have
used the Design and Hmisc packages for a while without this problem, but
after
David Whiting david.whiting at ncl.ac.uk writes:
The nearest I got to was to be able to colour row. Take a look at Table
10 here:
http://biostat.mc.vanderbilt.edu/twiki/pub/Main/StatReport/latexFineControl.pdf
After some private emailing with David and downloading the latest version of
Hi Dieter,
The nearest I got to was to be able to colour row. Take a look at Table
10 here:
http://biostat.mc.vanderbilt.edu/twiki/pub/Main/StatReport/latexFineControl.pdf
I used the latex package colotbl (see the definition of \shadeRow in
section 1). I didn't play any further with this. It
Paul,
I believe that the bug has been fixed in the CVS version of latex(), but
it has not yet made its way to an updated version of Hmisc on CRAN from
what I can see.
You can get the updated version of latex() from:
http://biostat.mc.vanderbilt.edu/cgi-bin/cvsweb.cgi/Hmisc/R/latex.s
Click on
Dear latex/R-Sweavers,
Using the codel below, I can color text in individual cells for latex
output.
Is there a similar way to get a background shading? My attempts failed
because I did not get the closing brace at the right place with Hmisc/latex.
library(Hmisc)
x -
Does anybody suggest a work-around this problem?
pj
Marc Schwartz (via MN) wrote:
On Wed, 2005-10-12 at 08:33 -0500, Charles Dupont wrote:
Marc Schwartz (via MN) wrote:
On Tue, 2005-10-11 at 10:01 -0400, Rick Bilonick wrote:
I'm using R 2.2.0 on an up-to-date version of Fedora Core 4 with
Using Hmisc, I get the following output from format.df (which will feed to
latex)
Min Q1 Med Mean Q3 Max
Age 30 32.5 36 37.50 41.00 49
Height 174 175.0 178 179.00 181.00 188
Weight 68 74.0 78 76.67 79.75 83
Automatic decimal points adjustments does not
Dieter Menne dieter.menne at menne-biomed.de writes:
Using Hmisc, I get the following output from format.df (which will feed to
latex)
Min Q1 Med Mean Q3 Max
Age 30 32.5 36 37.50 41.00 49
Height 174 175.0 178 179.00 181.00 188
Weight 68 74.0 78
Charles Dupont [EMAIL PROTECTED] writes:
For a temporary fix source the attached file after loading the Hmisc
library. I will fix this in source for the next version.
Or, slightly shorter but somewhat dirtier:
evalq(dQuote - shQuote, environment(latex))
--
O__ Peter Dalgaard
Marc Schwartz (via MN) wrote:
On Tue, 2005-10-11 at 10:01 -0400, Rick Bilonick wrote:
I'm using R 2.2.0 on an up-to-date version of Fedora Core 4 with the
latest version of Hmisc. When I run an example from the latex function I
get the following:
x - matrix(1:6, nrow=2,
Charles Dupont wrote:
Marc Schwartz (via MN) wrote:
On Tue, 2005-10-11 at 10:01 -0400, Rick Bilonick wrote:
I'm using R 2.2.0 on an up-to-date version of Fedora Core 4 with the
latest version of Hmisc. When I run an example from the latex
function I
get the following:
x - matrix(1:6,
Charles Dupont [EMAIL PROTECTED] writes:
H, It works for me. Interesting.
It almost looks like the temp dir is not being created, but thats not
possible because R does that. It might be a Unicode issue with you
system shell. Can you run this statement in R
It's a Unicode issue
Charles Dupont wrote:
[...]
H, It works for me. Interesting.
It almost looks like the temp dir is not being created, but thats not
possible because R does that. It might be a Unicode issue with you
system shell. Can you run this statement in R
On Wed, 2005-10-12 at 08:33 -0500, Charles Dupont wrote:
Marc Schwartz (via MN) wrote:
On Tue, 2005-10-11 at 10:01 -0400, Rick Bilonick wrote:
I'm using R 2.2.0 on an up-to-date version of Fedora Core 4 with the
latest version of Hmisc. When I run an example from the latex function I
get
Peter Dalgaard wrote:
Charles Dupont [EMAIL PROTECTED] writes:
H, It works for me. Interesting.
It almost looks like the temp dir is not being created, but thats not
possible because R does that. It might be a Unicode issue with you
system shell. Can you run this statement in R
I'm using R 2.2.0 on an up-to-date version of Fedora Core 4 with the
latest version of Hmisc. When I run an example from the latex function I
get the following:
x - matrix(1:6, nrow=2, dimnames=list(c('a','b'),c('c','d','enLine
2')))
x
c d enLine 2
a 1 35
b 2 46
latex(x) #
On Tue, 2005-10-11 at 10:01 -0400, Rick Bilonick wrote:
I'm using R 2.2.0 on an up-to-date version of Fedora Core 4 with the
latest version of Hmisc. When I run an example from the latex function I
get the following:
x - matrix(1:6, nrow=2, dimnames=list(c('a','b'),c('c','d','enLine
2')))
Hmisc includes a latex function which typesets objects in latex. A
great time saver.
I am using it to create a large number of tables in a loop in conjuction
with prettyNum to place '000s separators in the numbers (i.e. 1,000,000
not 100). This converts the numbers to strings. The
22 matches
Mail list logo