s-news
[Top] [All Lists]

Re: [S] latex.table fix for Splus5?

To: "Steven M. Boker" <sboker@calliope.psych.nd.edu>
Subject: Re: [S] latex.table fix for Splus5?
From: Frank E Harrell Jr <fharrell@virginia.edu>
Date: Mon, 25 Oct 1999 10:57:59 -0400
Cc: s-news@wubios.wustl.edu
Organization: University of Virginia
References: <199910251402.JAA27531@clio.psych.nd.edu>
Sender: owner-s-news@wubios.wustl.edu
latex.table isn't really supported any more as it has been superceeded by
the Heiberger-Harrell print.display library.  This library works in version 3.4
for UNIX.  It will be available for 5.x in about 7 months.  -Frank Harrell

"Steven M. Boker" wrote:

> It seems that Splus5 has broken latex.table.  Has anyone
> put together a fix?  Or is there something blindingly obvious
> that I'm missing.  This works fine in 3.4 and previous versions.
>
> S-PLUS : Copyright (c) 1988, 1998 MathSoft, Inc.
> S : Copyright Lucent Technologies, Inc.
> Version 5.0 Release 3 for Sun SPARC, SunOS 5.5 : 1998
>
> > source("latex.table.s")
> > source("translate.s")
> > aMatrix <- matrix(1:4, 2,2)
> > dimnames(aMatrix) <- list(c("a", "b"), c("A", "B"))
> > aMatrix
>   A B
> a 1 3
> b 2 4
> > latex.table(aMatrix)
> Problem in as.name: object of mode call and length 2 used as string value:
> latex.table(x = aMatrix)
> Use traceback() to see the call stack
>
> Thanks!
>
> Steve
> ---
>  Steven M. Boker                                 219-631-4941 (voice)
>  sboker@nd.edu                                   219-631-8883 (fax)
>  http://www.nd.edu/~sboker/                      219-257-2956 (home)
>  Dept. of Psychology, University of Notre Dame, Notre Dame, IN 46556
>
> -----------------------------------------------------------------------
> This message was distributed by s-news@wubios.wustl.edu.  To unsubscribe
> send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
> message:  unsubscribe s-news

--
Frank E Harrell Jr
Professor of Biostatistics and Statistics
Division of Biostatistics and Epidemiology
Department of Health Evaluation Sciences
University of Virginia School of Medicine
http://hesweb1.med.virginia.edu/biostat


-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu.  To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message:  unsubscribe s-news

<Prev in Thread] Current Thread [Next in Thread>