[R] Hmisc - latex - table.env not observed

2006-12-23 Thread steve
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.

Re: [R] Hmisc - latex - table.env not observed

2006-12-23 Thread Frank E Harrell Jr
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

[R] Hmisc, latex cdec not as expected

2006-11-06 Thread Henrik Frederik Thomsen
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

[R] Hmisc, latex cdec not as expected - again

2006-11-06 Thread Henrik Frederik Thomsen
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

Re: [R] Hmisc, latex cdec not as expected - again

2006-11-06 Thread Dieter Menne
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

Re: [R] Hmisc latex cell background color

2005-12-18 Thread Dieter Menne
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

Re: [R] Hmisc latex cell background color

2005-12-17 Thread David Whiting
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

Re: [R] Hmisc latex function

2005-12-16 Thread Marc Schwartz
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

[R] Hmisc latex cell background color

2005-12-15 Thread Dieter Menne
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 -

Re: [R] Hmisc latex function

2005-12-15 Thread Paul Johnson
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

[R] Hmisc latex format.df by row formatting?

2005-12-08 Thread Dieter Menne
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

Re: [R] Hmisc latex format.df by row formatting?

2005-12-08 Thread Dieter Menne
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

Re: [R] Hmisc latex function

2005-10-16 Thread Peter Dalgaard
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

Re: [R] Hmisc latex function

2005-10-12 Thread Charles Dupont
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,

Re: [R] Hmisc latex function

2005-10-12 Thread Rick Bilonick
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,

Re: [R] Hmisc latex function

2005-10-12 Thread Peter Dalgaard
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

Re: [R] Hmisc latex function

2005-10-12 Thread David Whiting
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

Re: [R] Hmisc latex function

2005-10-12 Thread Marc Schwartz (via MN)
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

Re: [R] Hmisc latex function

2005-10-12 Thread Charles Dupont
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

[R] Hmisc latex function

2005-10-11 Thread Rick Bilonick
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) #

Re: [R] Hmisc latex function

2005-10-11 Thread Marc Schwartz (via MN)
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')))

[R] Hmisc latex

2005-03-18 Thread Michaell Taylor
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