I was looking for an R function to turn a matrix into a LaTeX table; did an R site search using Jon Barron's machine and turned up the latex() function in the Hmisc package. But the Hmisc package is an Splus package, and appears not to be available for R --- there is no hint of it in the list of contributed packages on CRAN. I had a look at the Hmisc package (via statlib) and there was no hint of its having been ported to R. Yet the item that my search turned up has a header latex {Hmisc} R Documentation Can someone please explain to me what gives? If Hmisc is available for R, how do I get it? If not, what is it doing having R documentation? cheers, Rolf Turner -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>>>>> "rolf" == Rolf Turner <rolf at math.unb.ca> writes:rolf> I was looking for an R function to turn a matrix into a LaTeX table; rolf> did an R site search using Jon Barron's machine and turned up the rolf> latex() function in the Hmisc package. Can't answer your real question, but I'd also look at the xtable package. I'm doing wonders with it (+ Sweave, for writing stat sections for clinical trials protocol concept sheets, but that's even further off topic). best, -tony -- A.J. Rossini Rsrch. Asst. Prof. of Biostatistics U. of Washington Biostatistics rossini at u.washington.edu FHCRC/SCHARP/HIV Vaccine Trials Net rossini at scharp.org -------------- http://software.biostat.washington.edu/ ---------------- FHCRC: M: 206-667-7025 (fax=4812)|Voicemail is pretty sketchy/use Email UW: Th: 206-543-1044 (fax=3286)|Change last 4 digits of phone to FAX (my tuesday/wednesday/friday locations are completely unpredictable.) -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On 07/02/02 15:02, Rolf Turner wrote:>But the Hmisc package is an Splus package, and appears not to be >available for R --- there is no hint of it in the list of contributed >packages on CRAN.If you look up Hmisc at finzi.psych.upenn.edu, and look up the "Overview," you are led to http://hesweb1.med.virginia.edu/biostat/s/Hmisc.html where there is an R version. But I think you want xtable. (It does come up in the search, but not at the top for some reason.) -- Jonathan Baron, Professor of Psychology, University of Pennsylvania R page: http://finzi.psych.upenn.edu/ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
I would recommend the xtable package from CRAN. I've used it numerous times for papers. I've never used the latex() function from Hmisc but I know that Hmisc is available for R and can be downloaded from http://hesweb1.med.virginia.edu/biostat/s/Hmisc.html -roger _______________________________ UCLA Department of Statistics rpeng at stat.ucla.edu http://www.stat.ucla.edu/~rpeng On Tue, 2 Jul 2002, Rolf Turner wrote:> > I was looking for an R function to turn a matrix into a LaTeX table; > did an R site search using Jon Barron's machine and turned up the > latex() function in the Hmisc package. > > But the Hmisc package is an Splus package, and appears not to be > available for R --- there is no hint of it in the list of contributed > packages on CRAN. > > I had a look at the Hmisc package (via statlib) and there was no hint > of its having been ported to R. > > Yet the item that my search turned up has a header > > latex {Hmisc} R Documentation > > Can someone please explain to me what gives? If Hmisc is available > for R, how do I get it? If not, what is it doing having R > documentation? > > > cheers, > > Rolf Turner > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > 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 > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._ >-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Thanks for others for pointing out the home for Hmisc. I submitted Hmisc and Design to CRAN a few weeks ago and am looking forward to it being placed there. Frank Harrell On Tue, 2 Jul 2002 15:02:40 -0300 (ADT) Rolf Turner <rolf at math.unb.ca> wrote:> > I was looking for an R function to turn a matrix into a LaTeX table; > did an R site search using Jon Barron's machine and turned up the > latex() function in the Hmisc package. > > But the Hmisc package is an Splus package, and appears not to be > available for R --- there is no hint of it in the list of contributed > packages on CRAN. > > I had a look at the Hmisc package (via statlib) and there was no hint > of its having been ported to R. > > Yet the item that my search turned up has a header > > latex {Hmisc} R Documentation > > Can someone please explain to me what gives? If Hmisc is available > for R, how do I get it? If not, what is it doing having R > documentation? > > > cheers, > > Rolf Turner > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._