s-news
[Top] [All Lists]

[S] latex.table fix for Splus5?

To: s-news@wubios.wustl.edu
Subject: [S] latex.table fix for Splus5?
From: "Steven M. Boker" <sboker@calliope.psych.nd.edu>
Date: Mon, 25 Oct 1999 09:02:00 -0500
Sender: owner-s-news@wubios.wustl.edu
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

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