Displaying 3 results from an estimated 3 matches for "matrixpast".
Did you mean:
matrixpaste
2009 Jan 13
1
odfWeave: Error in matrixPaste(...)
...an odf file.
*INPUT: teste.odt*
<teste, results=xml>>=
x <- matrix(rnorm(6), nc=2)
xst <- tableStyles(x, useRowNames = TRUE, header = NULL)
odfTable(x, styles=xst, colnames = NULL, useRowNames = TRUE)
@
and I get this error:
*OUTPUT error:*
Error: chunk 1 (label=teste)
Error in matrixPaste(textStart, textName, textEnd, x, tagEnd, sep =
rep("", :
all matrices must have the same dim
Any hint is welcome.
Thanks in advance
Cleber
More details
> odfWeave( 'teste.odt', 'out.odt')
Copying teste.odt
Setting wd to
C:\DOCUME~1\cborges\CONFIG~1\T...
2013 Apr 10
2
Table with n(%) formatting: A better way to do this?
...ks$breaks)))
Freq <- with(breaks, addmargins(table(wool, tension), 2))
Prop <- round( prop.table(Freq, 2) * 100, 2 )
Freq <- addmargins(Freq, 1)
Prop <- addmargins(Prop, 1)
require(odfWeave)
class(Freq) <- "character"
class(Prop) <- "character"
FreqProp <- matrixPaste(Freq, "(", Prop, "%)", sep = c("", "", ""))
colnames(FreqProp) <- colnames(Freq)
rownames(FreqProp) <- rownames(Freq)
names(dimnames(FreqProp)) <- c("Wool", "")
FreqProp <- data.frame(Wool=rownames(FreqProp), FreqPr...
2010 Apr 28
1
Errors when trying to open odfWeave documents
Hello
I tried the odfWeave package today, by running the formatting.odt and
example.odt files that are included with the package.
They both ran fine, but when I try to open them in my OpenOffice
(OpenOffice 3.1.1 on Kubuntu 9.10) I get an error "Format error
discovered in the file in sub-document content.xml at 1293,124(row,col)."
I also tried to open them in MS Word 2003 (Windows