Displaying 20 results from an estimated 300 matches similar to: "problem with odfWeave"
2013 Apr 11
3
odfWeave: Some questions about potential formatting options
Hello All,
Learning to use the odfWeave package. I really like the package. It has good documentation, makes some very nice looking tables, and seems to have lots of options for customizing output.
There are a few things I'd like to do that don't seem to be covered in the documentation though. So I'm not sure if they're possible or not.
Here's a list of some things I'd
2011 Sep 15
1
odfWeave: Combining multiple output statements in a function
What is the correct way to combine multiple calls to odfCat,
odfItemize, odfTable etc. inside a function?
As an example lets say I have a function that needs to write two
paragraphs of text and a list to the resulting odf-document (the real
function has much more complex logic, but I don't think thats
relevant). My first guess would be:
exampleOutput <- function() {
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
2009 Oct 08
3
odfWeave & XML error in post-processing
I've been happily building a file with odfWeave, and just as the hour
draws nigh for it to be sent off, odfWeave or XML throws the following
catastrophic error:
...this is the tail of entirely uneventful processing of input file.....
31 : term xml(label=LR_Fall_Model_Results)
32 : term verbatim(label=LR_Model_Fall_graph)
33 : term xml(label=LR_OMC_tab)
'content_1.xml' has
2010 Sep 17
1
odfWeave UTF-8 error and latin characters
Hello R masters,
I have sent this same message to other lists and none so far could give some
light. I was trying to use odfWeave to generate a report from R and Im
getting an error that I think is related to latin characters. I looked
around and did find some stuff related to this problem about Sweave
http://labmoluscos.wordpress.com/2010/02/18/sweave-latex-character-encoding/
but
did not find a
2009 Mar 02
1
Cross Tables with odfTable in odfweave
Hi, I've been trying to prepare some crosstables for some survey
questions for a client. I have been using the CrossTable function in the
gmodels package. However, this command only seems to be able to create
CrossTables in text documents.
I've been trying to use odfTable in odfweave to create tables that are
standalone objects in the document that I can then convert to other
2008 Mar 26
1
OdfWeave and contingency tables
Hi,
I would like to use odfWeave to output some contingency tables (the
output of "table") into OOo. I know I can do this in LaTex (using
"latex" in the Hmisc package), but I was wondering if it is possible in
OdfWeave. My documentation to odfTable says inputs can only be vector,
matrix or data.frame, and I'm having a hard time converting my table
into one of these
2009 Jan 13
1
odfWeave: Error in matrixPaste(...)
Hello all,
I try the follow test with 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 =
2010 Feb 20
1
Contingency Table - output to odfWeave not working for matrix
Hi guys I'm hoping someone can help me with this. It should be easy but it seems to get stuck for no obvious reason! I am trying to set a report up in odfWeave so that we can re-run the same analysis at 3 time points as the data matures and provide an 'instant' report.
To simplify the situation we have two pieces of data: site_id (numerical value 1-9) and reaction (categorical Y or
2009 Jul 06
1
odfWeave: odt-file damaged
Dear all,
I am doing my first steps with odfWeave.
After running the r code (see below), I am trying to open the ODF-document
with open office, but I am getting the error message:
"The file is damaged, but it can be repaired". If I confirm the question and
repair the file with open office, I can open it with the desired output,
which seems to be fine.
My system:
R Version 2.9.1
2009 Nov 04
1
odfweave table styles
Hello List,
Does anyone have examples of custom formatting of tables in odfweave? I know
there is an example of this in the formatting.odt file that comes with the
package, but running that through odfweave gives the following error:
Error: chunk 13 (label=showTableStyles)
Error in names(x) <- value :
'names' attribute [1] must be the same length as the vector [0]
What I am really
2008 Nov 26
1
odfWeave and XML... on a Mac
I'm trying out odfWeave in a Mac environment and getting some odd behavior.
Having figured out that the code snippets only work if they're in certain
fonts, I was able to get R to run a test document through and produce an
output document. After running it, though, I get a warning message:
Warning message:
In file.remove("styles_2.xml") :
cannot remove file
2009 Jan 11
1
Problem using odfWeave
Hi everybody,
I don't get odfWeave to run properly. My odt file is as a simple as:
------------------------
Some text.
<<echo=FALSE>>=
print(1:10)
@
-----------------------
The output I get ist the following:
-----------------------------------
> odfWeave("roffice.odt", "rofficeOUT.odt")
Copying roffice.odt
Setting wd to
2006 Nov 24
2
odfTable: how to escape <
Dear All,
I'm appreciating odfWeave as a nice reporting tool, but I had some pain
in producing tables with odfTable command
where the first column began with < or > such as in age class heading,
for example:
<35
35-39
40-49
50-50
>60
In this case, to avoid a content.xml error, I had to change <35 in less
than 35 and > 60 in over 60.
Anyone knows how to escape those
2011 May 13
1
issue with odfWeave running on Windows XP; question about installing packages under Linux
Good morning R community,
I have two questions (and a comment):
1)
A problem with odfWeave. I have an odf document
with a table that spans multiple pages. Each cell in the table is
populated using \sexpr{<R stuff>}. This worked fine on my
own machine (windows 7 box using any R2.x.y, for x>=11) and
on a colleagues machine (Windows XP box running R2.11.1).
However, on a third machine
2007 Jun 05
1
odfTable
Hello,
I am using the odfWeave packages;
I draw a table using the function odfTable:
partCols <- gsub(?\\.?, ? ?, names(partenaires))
odfTable(partenaires, useRowNames = FALSE, colnames=partCols)
it's working as I have a table in my output file.
I would like to know how to change the background color for the header
cells.
I assuming i have to use tableStyles, but I don't understand
2010 Feb 21
1
odfWeave - merged table cells, and adding information like totals and p-values
I'm hoping I'm missing some (probably fundamental basic process) which might make my life easier!
Lets assume I have a 3 column table summarizing results from a trial from three arms (Arm A, B and C).
For each arm there will be a number of pieces of information to report. The simplest example might be to compare this to the demographic comparisons often seen in clinical traisl where you
2010 Feb 09
1
odfTable: table width and alignment
Dear R and odfWeave users,
I am trying to figure out how to control table width and alignment on the
page for a table generated by odfTable. Based on reading odfWeave
documentation (including formattingOut.odt), here is how I manipulate the
styles:
st = getStyleDefs()
# modify the table style
tab = getStyles()$table
st[[tab]]$align = "center" # seems to have no effect
2010 Mar 17
0
odfWeave: odt-file damaged
Dear all,
I'm resurrecting this old post (about 6 monts old, reproduced thereafter)
because I have struggled against the same problem and found a solution
so that I found it was worth posting for the record.
The simple fix when you want to use odfWeave with 7-ZIP as a
compressing/decompressing utility under windows is to use the
'x' instead of the 'e' option so as to preserve
2010 Mar 05
2
Sweave and optional document sections
Dear R and Sweave users,
Is there a way to have optional sections in a Sweave-generated report
document, complete with section header(s), text and code chunks? In other
words, I'd like for my report to include or omit certain sections based on
the data itself.
For example, If I examine the input dataset early on in the report and set a
variable has_daily_data = TRUE, then I'd like to