Re: [R] odfWeave - A loop of the "same" data

2017-06-01 Thread Henrik Bengtsson
This is what the R.rsp (https://cran.r-project.org/package=R.rsp; I'm the author) and it's RSP markup is good at and was designed to handle. We're using it lots in report generation where we iterate of elements, e.g. over the 24 chromosomes. See Section 2.3 in

Re: [R] odfWeave - A loop of the "same" data

2017-06-01 Thread Charles C. Berry
On Thu, 1 Jun 2017, POLWART, Calum (COUNTY DURHAM AND DARLINGTON NHS FOUNDATION TRUST) via R-help wrote: Before I go and do this another way - can I check if anyone has a way of looping through data in odfWeave (or possibly sweave) to do a repeating analysis on subsets of data? For

Re: [R] odfWeave - A loop of the "same" data

2017-06-01 Thread Jeff Newmiller
I do this regularly with knitr [1]. I have never used odfWeave, but would imagine that similar principles apply. If you make a child document that assumes that the desired data are stored in one or more objects, then you can use a for loop in the master document that repeatedly extracts the

[R] odfWeave - A loop of the "same" data

2017-06-01 Thread POLWART, Calum (COUNTY DURHAM AND DARLINGTON NHS FOUNDATION TRUST) via R-help
Before I go and do this another way - can I check if anyone has a way of looping through data in odfWeave (or possibly sweave) to do a repeating analysis on subsets of data? For simplicity lets use mtcars dataset in R to explain. Dataset looks like this: > mtcars mpg cyl disp

[R] OdfWeave problem

2013-12-17 Thread John Kane
I am trying to get odfWeave to work and I seem to be doing something stupid. Straightforward inline statements and plain code chunks are working fine but when I try to use an actual odfWeave statement I get what appears to be the xml and not odt format. I am using Apache OpenOffice 3. 4.0.

Re: [R] OdfWeave problem

2013-12-17 Thread Duncan Murdoch
On 17/12/2013 10:00 AM, John Kane wrote: I am trying to get odfWeave to work and I seem to be doing something stupid. Straightforward inline statements and plain code chunks are working fine but when I try to use an actual odfWeave statement I get what appears to be the xml and not odt

Re: [R] OdfWeave problem

2013-12-17 Thread John Kane
-0500 To: jrkrid...@inbox.com, r-help@r-project.org Subject: Re: [R] OdfWeave problem On 17/12/2013 10:00 AM, John Kane wrote: I am trying to get odfWeave to work and I seem to be doing something stupid. Straightforward inline statements and plain code chunks are working fine but when I try

Re: [R] OdfWeave problem

2013-12-17 Thread Duncan Murdoch
to answer a few simple questions. John Kane Kingston ON Canada -Original Message- From: murdoch.dun...@gmail.com Sent: Tue, 17 Dec 2013 10:26:01 -0500 To: jrkrid...@inbox.com, r-help@r-project.org Subject: Re: [R] OdfWeave problem On 17/12/2013 10:00 AM, John Kane wrote: I am trying

Re: [R] OdfWeave problem

2013-12-17 Thread Jeff Newmiller
. John Kane Kingston ON Canada -Original Message- From: murdoch.dun...@gmail.com Sent: Tue, 17 Dec 2013 10:26:01 -0500 To: jrkrid...@inbox.com, r-help@r-project.org Subject: Re: [R] OdfWeave problem On 17/12/2013 10:00 AM, John Kane wrote: I am trying to get odfWeave to work and I

Re: [R] OdfWeave problem

2013-12-17 Thread John Kane
: jdnew...@dcn.davis.ca.us Sent: Tue, 17 Dec 2013 08:20:50 -0800 To: jrkrid...@inbox.com, r-help@r-project.org Subject: Re: [R] OdfWeave problem I, like Duncan have not used odfweave, but with knitr you would not use result=TRUE, rather you would use result='asis

Re: [R] odfWeave post processing error

2013-08-21 Thread Tom Li
Error: XML content does not seem to be XML: 'content_1.xml'In addition: Warning message:In file.remove(content.xml) : cannot remove file 'content.xml', reason 'No such file or directory' Check out the XML file. When I run into errors with odfWeave, it's usually because a non-unicode

Re: [R] odfWeave post processing error

2013-08-07 Thread John Kane
:40 -0400 To: r-help@r-project.org Subject: [R] odfWeave post processing error Hello all. When I attempt to run the following script, I receive a post processing error message. I would appreciate any help in interpreting and correcting the error. Script: library(odfWeave) ctrl

[R] odfWeave post processing error

2013-08-06 Thread Maverick topgun
Hello all. When I attempt to run the following script, I receive a post processing error message. I would appreciate any help in interpreting and correcting the error. Script: library(odfWeave) ctrl - odfWeaveControl(zipCmd = c(\C:\\Program Files\\7-Zip\\7z.exe\ a $$file$$, \C:\\Program

[R] odfWeave on WinXP

2013-06-04 Thread Bond, Stephen
Hello useRs, Having trouble getting odfWeave to work here. Crashing at unzipping like noted in many other posts. The unzip utility referred in the doc no longer exists (page last updated in 2004 and links are not found.) If anybody knows how to make it work on XP pls advise. I can manually

Re: [R] odfWeave: Some questions about potential formatting options

2013-04-22 Thread Paul Miller
Bouchet-Valat nalimi...@club.fr Subject: Re: [R] odfWeave: Some questions about potential formatting options To: Paul Miller pjmiller...@yahoo.com Cc: Max Kuhn mxk...@gmail.com, r-help@r-project.org Received: Wednesday, April 17, 2013, 11:17 AM Le mardi 16 avril 2013 à 10:15 -0700, Paul Miller a écrit

Re: [R] odfWeave: Some questions about potential formatting options

2013-04-17 Thread Max Kuhn
Paul, #1: I've never tried but you might be able to escape the required tags in your text (e.g. in html you could write out the b in your text). #3: Which output? Is this in text? #2: I may be possible and maybe easy to implement. So if you want to dig into it, have at it. For me, I'm

Re: [R] odfWeave: Some questions about potential formatting options

2013-04-17 Thread Milan Bouchet-Valat
Le mardi 16 avril 2013 à 10:15 -0700, Paul Miller a écrit : Hi Milan and Max, Thanks to each of you for your reply to my post. Thus far, I've managed to find answers to some of the questions I asked initially. I am now able to control the justification of the leftmost column in my tables,

Re: [R] odfWeave: Some questions about potential formatting options

2013-04-16 Thread Paul Miller
Hi Milan and Max, Thanks to each of you for your reply to my post. Thus far, I've managed to find answers to some of the questions I asked initially. I am now able to control the justification of the leftmost column in my tables, as well as to add borders to the top and bottom. I also

Re: [R] odfWeave: Some questions about potential formatting options

2013-04-12 Thread Milan Bouchet-Valat
Le jeudi 11 avril 2013 à 13:40 -0700, Paul Miller a écrit : 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

[R] odfWeave: Some questions about potential formatting options

2013-04-11 Thread Paul Miller
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

Re: [R] odfWeave: Trouble Getting the Package to Work

2013-02-20 Thread Paul Miller
Hi Max,   It works! Updating the odfWeave and xml software did the trick. Thanks very much for your help.   Paul [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

[R] odfWeave: Trouble Getting the Package to Work

2013-02-18 Thread Paul Miller
Hello All, Have recently started learning Sweave and Knitr. Am now trying to learn odfWeave as well. Things went pretty smoothly with Sweave and Knitr but I'm having some trouble with odfWeave. My understanding was that odfWeave should work in pretty much the same way as Sweave. With

Re: [R] odfWeave: Trouble Getting the Package to Work

2013-02-18 Thread Max Kuhn
That's not a reproducible example. There is no sessionInfo() and you omitted code (where did 'fp' come from?). It works fine for me (see sessionInfo below) using the code in ?odfWeave. As for the file paths: you can point to different paths for the files (although don't change the working

Re: [R] odfWeave: Trouble Getting the Package to Work

2013-02-18 Thread Paul Miller
Kuhn mxk...@gmail.com Subject: Re: [R] odfWeave: Trouble Getting the Package to Work To: Paul Miller pjmiller...@yahoo.com Cc: r-help@r-project.org r-help@r-project.org Received: Monday, February 18, 2013, 8:47 AM That's not a reproducible example. There is no sessionInfo() and you omitted code

Re: [R] odfWeave: Trouble Getting the Package to Work

2013-02-18 Thread mxkuhn
'' 1: paste(levels(iris$Species), collapse = ^ --- On Mon, 2/18/13, Max Kuhn mxk...@gmail.com wrote: From: Max Kuhn mxk...@gmail.com Subject: Re: [R] odfWeave: Trouble Getting the Package to Work To: Paul Miller pjmiller...@yahoo.com Cc: r-help@r

[R] odfWeave: Unable to convert to the current locale

2012-08-28 Thread Christian Brière
Hello, I am testing odfWeave on a Windows XP system, but I got the following error : where test_in.odt comes from an Unix system. I did not get this error with a test file created under Windows. I suppose this has to do with the character set used in the file. What I could I do to overcome

[R] odfWeave , UTF-8 locale and posix

2012-08-10 Thread Frans Marcelissen
Hello, I have a serious problem with odfWeave. I use odfWeave to produce on-line reports on a webserver. When the template file contains trema's (ë) or accents (é), odfWeave breaks with the unfamous error Unable to convert h.odt to the current locale. You may need to process this file in a

[R] odfWeave, xtable and tex

2012-06-14 Thread Frans Marcelissen
Hello, I try to use xtable under odfWeave. With echo=FALSE,results=xml= library(xtable) xtable(iris) @ this results in an endless list of xmlParseEntityRef: no name On internet I find that results should be tex: echo=FALSE,results=tex=

Re: [R] odfWeave fails to load

2012-05-31 Thread Bond, Stephen
the few bad apples are properly labelled and can be avoided by the community. Kind regards Stephen B -Original Message- From: Uwe Ligges [mailto:lig...@statistik.tu-dortmund.de] Sent: Wednesday, May 30, 2012 4:23 AM To: Bond, Stephen Cc: r-help@r-project.org Subject: Re: [R] odfWeave

Re: [R] odfWeave fails to load

2012-05-31 Thread Uwe Ligges
Message- From: Uwe Ligges [mailto:lig...@statistik.tu-dortmund.de] Sent: Wednesday, May 30, 2012 4:23 AM To: Bond, Stephen Cc: r-help@r-project.org Subject: Re: [R] odfWeave fails to load See http://cran.r-project.org/web/checks/check_results_odfWeave.html which indicates the package has some

Re: [R] odfWeave fails to load

2012-05-30 Thread Uwe Ligges
See http://cran.r-project.org/web/checks/check_results_odfWeave.html which indicates the package has some problems. Hence CRAN does not make binaries available. Please contact the maintainer. Best, Uwe Ligges On 29.05.2012 16:23, stephenb wrote: R version 2.15.0 (2012-03-30) Copyright

[R] odfWeave fails to load

2012-05-29 Thread stephenb
R version 2.15.0 (2012-03-30) Copyright (C) 2012 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i386-pc-mingw32/i386 (32-bit) package ‘survey’ successfully unpacked and MD5 sums checked package ‘odfWeave.survey’ successfully unpacked and MD5 sums checked

Re: [R] odfWeave UTF-8 error and latin characters

2012-01-11 Thread staffan7s
Hello, I am using R and Libreoffice on Ubuntu 11.10 (64-bit) and have been experiencing similar problems with character encoding (Swedish utf8) in odfWeave. Here is an example of what it looks like: Should be: Hör Ärland dåligt? Appears as: Hör Ärland dÃ¥ligt? I found a (pretty clumsy)

Re: [R] odfWeave Windows binary

2011-12-18 Thread Uwe Ligges
On 17.12.2011 20:51, John C Nash wrote: As I'm working with some folk who use Windows to prepare an article / documentation, I'd like to be able to know if we can use odfWeave. It seems there is no official binary at the moment for Windows. Right, reason is the package does not pass the

Re: [R] odfWeave error

2011-12-18 Thread Uwe Ligges
Please report (if you want to speed things up including a patch) to the package maintainer. This package currently does not pass the check under Windows (at least not in non UTF-8 locales). Best, Uwe Ligges On 17.12.2011 23:49, Frank Lawrence wrote: I am new to using odfWeave but I have

Re: [R] odfWeave

2011-12-18 Thread Uwe Ligges
Please never ever double/triple post the same questions. For the archive, the answer to the other instance of this question was: Please report (if you want to speed things up including a patch) to the package maintainer. This package currently does not pass the check under Windows (at least

[R] odfWeave Windows binary

2011-12-17 Thread John C Nash
As I'm working with some folk who use Windows to prepare an article / documentation, I'd like to be able to know if we can use odfWeave. It seems there is no official binary at the moment for Windows. Does anyone have a working unofficial one, if possible both win32 and win64 flavours? My

[R] odfWeave error

2011-12-17 Thread Frank Lawrence
I am new to using odfWeave but I have encountered a problem running both the example in the help file as well as another file.  I am not sure how to correct the error. First example: library(odfWeave) filein - 'c:\\my documents\\example01_in.odt' fileout - 'c:\\my documents\\example01.odt'

[R] odfWeave

2011-12-16 Thread Frank Lawrence
I am new to using odfWeave but I have encountered a problem running both the example in the help file as well as another file. I am not sure how to correct the error. First example: library(odfWeave) filein - 'c:\\my documents\\example01_in.odt' fileout - 'c:\\my documents\\example01.odt'

Re: [R] odfWeave: Combining multiple output statements in a function

2011-09-16 Thread Max Kuhn
formatting.odf, page 7. The results are in formattingOut.odt On Thu, Sep 15, 2011 at 2:44 PM, Jan van der Laan rh...@eoos.dds.nl wrote: Max, Thank you for your answer. I have had another look at the examples (I already had before mailing the list), but could find the example you mention.

Re: [R] odfWeave: Combining multiple output statements in a function

2011-09-16 Thread Jan van der Laan
Page 7 in my version of formatting.odt (to be sure I have the right version I downloaded the latest odfWeave from CRAN) discusses registering style definitions and Examples of Changing Styles for Tables, Paragraphs, Bullets and Pages which has nothing to do with my question (as far as I

[R] odfWeave: Combining multiple output statements in a function

2011-09-15 Thread Jan van der Laan
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

Re: [R] odfWeave: Combining multiple output statements in a function

2011-09-15 Thread Max Kuhn
There are examples in the package directory that explain this. On Thu, Sep 15, 2011 at 8:16 AM, Jan van der Laan rh...@eoos.dds.nl wrote: 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

Re: [R] odfWeave: Combining multiple output statements in a function

2011-09-15 Thread Jan van der Laan
Max, Thank you for your answer. I have had another look at the examples (I already had before mailing the list), but could find the example you mention. Could you perhaps tell me which example I should have a look at? Regards, Jan On 09/15/2011 04:47 PM, Max Kuhn wrote: There are

[R] odfWeave repeats output

2011-08-12 Thread Chris Beeley
Hello all- I'm having a problem with odfWeave. I'm still testing it out, and have used both of these code chunks, which I copied off a blog: Number 1: A sample document last processed \Sexpr{Sys.time()}. This simply illustrates the output from an R command inserted into our document. This is

Re: [R] odfWeave repeats output

2011-08-12 Thread Rainer Stuetz
On Fri, Aug 12, 2011 at 11:10 AM, Chris Beeley chris.bee...@gmail.com wrote: I'm having a problem with odfWeave. I'm still testing it out, and have used both of these code chunks, which I copied off a blog: ... The really weird thing is that I have replicated the problem across two

[R] odfWeave 0.7.17 stutters on Debian testing 64-bit amd64 systems.

2011-05-14 Thread Emmanuel Charpentier
Dear list, This is a copy of a mail sent to Max Kuhn, original author and maintainer of the odfWeave package, which seems not to have received it. It reports a problem that seems to be very implementation specific (reproductible on three Debian testing amd64 machine, does *not* happen on two i686

Re: [R] odfWeave 0.7.17 stutters on Debian testing 64-bit amd64 systems.

2011-05-14 Thread Prof Brian Ripley
Note the difference in XML versions. odfWeave does not work correctly with XML 3.4-x: this has been reported to the maintainer (and can be seen on the CRAN package checks at http://cran.r-project.org/web/checks/check_results_odfWeave.html). I suggest you try downgrading to an earlier version

Re: [R] odfWeave 0.7.17 stutters on Debian testing 64-bit amd64 systems.

2011-05-14 Thread Prof Brian Ripley
On Sat, 14 May 2011, Emmanuel Charpentier wrote: Dear Brian, Thank you very much for this answer. However ... Le samedi 14 mai 2011 à 11:52 +0100, Prof Brian Ripley a écrit : Note the difference in XML versions. odfWeave does not work correctly with XML 3.4-x: this has been reported to the

Re: [R] odfWeave 0.7.17 stutters on Debian testing 64-bit amd64 systems.

2011-05-14 Thread Emmanuel Charpentier
Dear Brian, Thank you very much for this answer. However ... Le samedi 14 mai 2011 à 11:52 +0100, Prof Brian Ripley a écrit : Note the difference in XML versions. odfWeave does not work correctly with XML 3.4-x: this has been reported to the maintainer (and can be seen on the CRAN package

Re: [R] odfWeave 0.7.17 stutters on Debian testing 64-bit amd64 systems.

2011-05-14 Thread Emmanuel Charpentier
Dear Brian, You are right (as usual...) : downgrading XML to 3.2.0 (the next-to-most-recent version) enables me to compile my minimalistic example correctly. And yes, there is no other XML than XML. Silly me... Now, I have to understand why the i386 and Ubuntu machines were *not* upgraded to

[R] odfWeave \ odfTable and encoding

2011-04-20 Thread kristell.desseaux
Dear All, I usually use the package Sweave and Latex, but I want to explore the opportunities available with odfWeave. So I started exploring this new package. I find myself hang while attempting to insert tables in the document odt. I built a data.frame to present the results of statistical

Re: [R] odfWeave \ odfTable and encoding

2011-04-20 Thread Wincent
This has been a long-lasting issue without good solution for windows because windows does not support UTF-8 encoding. If you are using Linux, you can set UTF-8 locale through Sys.setlocale. Regards On 20 April 2011 16:51, kristell.desseaux kristell.desse...@univ-paris-diderot.fr wrote: Dear

Re: [R] odfWeave Error unzipping file in Win 7

2011-03-21 Thread rmailbox
inflating: settings.xml inflating: META-INF/manifest.xml C:\DOCUME~1\Koster01\LOCALS~1\Temp\Rtmp4uCcY2\odfWeave2153483 - Original message - From: psycho-ld battlecry...@web.de To: r-help@r-project.org Date: Sun, 23 Jan 2011 01:47:44 -0800 (PST) Subject: [R] odfWeave Error

Re: [R] odfWeave Error unzipping file in Win 7

2011-03-21 Thread Max Kuhn
- Original message - From: psycho-ld battlecry...@web.de To: r-help@r-project.org Date: Sun, 23 Jan 2011 01:47:44 -0800 (PST) Subject: [R] odfWeave Error unzipping file in Win 7 Hey guys, I´m just getting started with R (version 2.12.0) and odfWeave and kinda stumble from one

Re: [R] odfWeave Error unzipping file in Win 7

2011-03-21 Thread rmailbox
I tried with no spaces in either file name and got the same error. - Original message - From: Max Kuhn mxk...@gmail.com To: rmail...@justemail.net Cc: r-help@r-project.org Date: Mon, 21 Mar 2011 17:04:40 -0400 Subject: Re: [R] odfWeave Error unzipping file in Win 7 I don't think

Re: [R] odfWeave Error unzipping file in Win 7

2011-03-21 Thread Duncan Murdoch
: [R] odfWeave Error unzipping file in Win 7 I don't think that this is the issue, but test it on a file without spaces. On Mon, Mar 21, 2011 at 2:25 PM,rmail...@justemail.net wrote: I have a very similar error that cropped up when I upgraded to R 2.12 and persists at R 2.12.1. I am running R

[R] odfWeave graphics glitch

2011-02-22 Thread Prof. John C Nash
Using R2.12.1 on Ubuntu 10.04.1 I've tried to run the following code chunk in odfWeave fig1, echo=TRUE,fig=TRUE,width=7,height=4= x-seq(1:100)/10 y-sin(cos(x/pi)) imageDefs - getImageDefs() imageDefs$dispWidth - 4.5 imageDefs$dispHeight- 4.5 setImageDefs(imageDefs) X11(type=cairo) plot(x,y)

Re: [R] odfWeave graphics glitch

2011-02-22 Thread mxkuhn
John, What version of odfWeave and OO are you using? Thanks, Max On Feb 22, 2011, at 3:17 PM, Prof. John C Nash nas...@uottawa.ca wrote: Using R2.12.1 on Ubuntu 10.04.1 I've tried to run the following code chunk in odfWeave fig1, echo=TRUE,fig=TRUE,width=7,height=4= x-seq(1:100)/10

[R] odfWeave Error unzipping file in Win 7

2011-01-23 Thread psycho-ld
Hey guys, I´m just getting started with R (version 2.12.0) and odfWeave and kinda stumble from one problem to the next, the current one is the following: trying to use odfWeave: odfctrl - odfWeaveControl( + zipCmd = c(C:/Program Files/unz552dN/VBunzip.exe $$file$$ ., +

Re: [R] odfWeave/XML Windows issue

2010-11-18 Thread Ales
Dave_F friedenbergd at battelle.org writes: I am getting the following error when using odfWeave Error in xmlEventParse(infile, handlers = handlers, trim = FALSE, state = state) : File content_1.xml does not exist Thanks, Dave Dear Dave! I was getting the same message while

Re: [R] odfWeave/XML Windows issue

2010-11-18 Thread Dave_F
That seemed to do the trick, Thanks Ales!!! -- View this message in context: http://r.789695.n4.nabble.com/odfWeave-XML-Windows-issue-tp3036376p3049524.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list

[R] odfWeave - Format error discovered in the file in sub-document content.xml at 2, 4047 (row, col)

2010-11-16 Thread Søren Højsgaard
When using odfWeave on an OpenOffice input document, I can not open the output document. I get the message Format error discovered in the file in sub-document content.xml at 2,4047 (row,col) Can anyone help me on this? (Apologies if this has been discussed before; I have not been able to find

Re: [R] odfWeave - Format error discovered in the file in sub-document content.xml at 2, 4047 (row, col)

2010-11-16 Thread Mike Marchywka
From: soren.hojsga...@agrsci.dk To: r-h...@stat.math.ethz.ch Date: Tue, 16 Nov 2010 11:32:06 +0100 Subject: [R] odfWeave - Format error discovered in the file in sub-document content.xml at 2, 4047 (row, col) When using odfWeave on an OpenOffice

Re: [R] odfWeave - Format error discovered in the file in sub-document content.xml at 2, 4047 (row, col)

2010-11-16 Thread Søren Højsgaard
: Søren Højsgaard; r-h...@stat.math.ethz.ch Emne: RE: [R] odfWeave - Format error discovered in the file in sub-document content.xml at 2, 4047 (row, col) From: soren.hojsga...@agrsci.dk To: r-h...@stat.math.ethz.ch Date: Tue, 16 Nov 2010 11:32:06 +0100

Re: [R] odfWeave - Format error discovered in the file in sub-document content.xml at 2, 4047 (row, col)

2010-11-16 Thread Max Kuhn
] odfWeave - Format error discovered in the file in sub-document content.xml at 2, 4047 (row, col) From: soren.hojsga...@agrsci.dk To: r-h...@stat.math.ethz.ch Date: Tue, 16 Nov 2010 11:32:06 +0100 Subject: [R] odfWeave - Format error discovered

[R] odfWeave/XML Windows issue

2010-11-10 Thread Dave_F
I am getting the following error when using odfWeave Error in xmlEventParse(infile, handlers = handlers, trim = FALSE, state = state) : File content_1.xml does not exist This appears to be the same issue detailed in

[R] odfWeave UTF-8 error and latin characters

2010-09-17 Thread Pedro Emmanuel Alvarenga Americano do Brasil
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

Re: [R] OdfWeave and Locale

2010-09-01 Thread Prof Brian Ripley
There have been encoding-related problems in odfWeave for years, and notice that it fails its checks on Windows (see the CRAN package check page). However, the problem here appears to be directional quotes, and you may be able to resolve these in the same ways as in Sweave (one of which is

[R] odfWeave

2010-08-31 Thread Michael Kubovy
Dear -r-helpers, I'm trying to get my students to use odfWeave. Windows users are having trouble. I would appreciate advice. Comment 1: Hello I have spent a while today trying to get odfWeave to be successful I installed the unzip and zip program but it has not changed the error message.I

Re: [R] odfWeave

2010-08-31 Thread John Kane
: From: Michael Kubovy kub...@virginia.edu Subject: [R] odfWeave To: r-help@r-project.org Received: Tuesday, August 31, 2010, 1:24 PM Dear -r-helpers, I'm trying to get my students to use odfWeave. Windows users are having trouble. I would appreciate advice. Comment 1: Hello I have spent

Re: [R] odfWeave

2010-08-31 Thread John Kane
...@yahoo.ca Subject: Re: [R] odfWeave To: r-help@r-project.org, Michael Kubovy kub...@virginia.edu Received: Tuesday, August 31, 2010, 2:12 PM It looks like a path problem. I have not figured out how to handle it in Win 7 (new system last week) but have a look at http://r.789695.n4.nabble.com

[R] OdfWeave and Locale

2010-08-31 Thread C.H.
Dear all, I have a question regarding the odfweave. I created an odt file (test_input.odt) using OO.o for WIndows XP. The code is generic. Code for odt --- \Sexpr{dim(iris)[1]} listofSpecies, echo=FALSE, results=xml= odfItemize(levels(iris$Species)) @ Table 1: Table,

[R] odfWeave Issue.

2010-08-11 Thread Axolotl9250
Hi, I'm trying to put a document through odfWeave that has some R code for coursework in it: library(odfWeave) Loading required package: lattice Loading required package: XML inFile = ~/Documents/Squirrel.odf outFile = ~/Documents/ Squirrel Out.odt inFile = ~/Documents/Squirrel.odt odfWeave

Re: [R] odfWeave Issue.

2010-08-11 Thread Max Kuhn
What does this mean? It's impossible to tell. Read the posting guide and figure out all the details that you left out. If we don't have more information, you should have low expectations about the quality of any replies to might get. -- Max __

Re: [R] odfWeave Issue.

2010-08-11 Thread Axolotl9250
Hi, sorry I've gotten around the issue, I there was an error with the document format itself, I managed to correct by making a new file. -- View this message in context: http://r.789695.n4.nabble.com/odfWeave-Issue-tp2321369p2321789.html Sent from the R help mailing list archive at Nabble.com.

Re: [R] odfWeave Issue.

2010-08-11 Thread Xu Wang
an error in the document format? Good job figuring it out. Did you submit a bug report? -- View this message in context: http://r.789695.n4.nabble.com/odfWeave-Issue-tp2321369p2321833.html Sent from the R help mailing list archive at Nabble.com. __

[R] odfWeave accented chars in a plot iconv

2010-06-21 Thread Laurent Rhelp
Dear R-List, I try to use accented chars in a plot using odfWeave (see the example below). I found the solution using the iconv command to write the accented char é. But, is somebody know another solution not to have to use iconv command every time ? Thanks Example : plot,fig=TRUE=

[R] odfweave with openOffice 3.2

2010-05-11 Thread Jean lobry
Dear list, since I have upgraded openOffice to version 3.2 I have some trouble to open very simple ODT files generated by odfweave: the file is apparently corrupted (but recovery is fine). I have observed this under windows and mac OS 10.4.11 with R 2.10.0, odfWeave_0.7.11, XML_2.6-0,

Re: [R] odfweave with openOffice 3.2

2010-05-11 Thread Max Kuhn
Problems have been reported, such as: https://stat.ethz.ch/pipermail/r-help/2010-May/237577.html but I have not reproduced them. For me it works fine with the results in the above link and with: sessionInfo() R version 2.10.0 RC (2009-10-18 r50160) x86_64-apple-darwin9.8.0 locale: [1]

Re: [R] odfweave with openOffice 3.2

2010-05-11 Thread Jean lobry
At 15:57 -0400 11/05/10, Max Kuhn wrote: Problems have been reported, such as: https://stat.ethz.ch/pipermail/r-help/2010-May/237577.html but I have not reproduced them. For me it works fine with the results in the above link and with: sessionInfo() R version 2.10.0 RC (2009-10-18

Re: [R] odfWeave Error

2010-03-19 Thread Max Kuhn
Brock, Open up a dos prompt (use the Run menu item and type cmd without the quotes). Navigate to the odt file, then try using 7z x -tzip file.odt (where file is the name of you file). Also, below is a message that someone sent to RHelp that might be of use to you. Thanks, Max Dear all, I'm

Re: [R] odfWeave Error

2010-03-17 Thread lith
I am following an example from online and am getting the following error: .Error unizipping fileunzip not found. Are zip and unzip in your path? If not you could use odfWeaveControl. Example: odfctrl - odfWeaveControl( zipCmd = c(h:/bin/zip.exe -r $$file$$ ., h:/bin/unzip.exe -o $

Re: [R] odfWeave Error

2010-03-17 Thread Btibert3
Thanks for your help! Here is what I tried with no luck. I use 7-zip on my machine. Just in case it helps, I am running XP Pro 32 at the office. odfctrl - odfWeaveControl(zipCmd = c(C:/Program Files/7-Zip/7zG.exe -r $$file$$ ., C:/Program Files/7-Zip/7zG.exe -o $$file$$))

Re: [R] odfWeave Error

2010-03-17 Thread Max Kuhn
Can you use 7zG to unzip an odt file from a dos prompt? Max On Wed, Mar 17, 2010 at 9:46 AM, Btibert3 btibe...@gmail.com wrote: Thanks for your help! Here is what I tried with no luck. I use 7-zip on my machine. Just in case it helps, I am running XP Pro 32 at the office. odfctrl -

Re: [R] odfWeave Error

2010-03-17 Thread Btibert3
Hi Max, I appreciate your time. Sorry, I am not really a progammer- how would I test this? Thanks again! - Brock On Wed, Mar 17, 2010 at 11:00 AM, Max Kuhn [via R] ml-node+1596549-1426779930-75...@n4.nabble.comml-node%2b1596549-1426779930-75...@n4.nabble.com wrote: Can you use 7zG to

Re: [R] odfWeave: odt-file damaged

2010-03-17 Thread Jean lobry
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

[R] odfWeave Error

2010-03-16 Thread Btibert3
Hi All, This is probably basic, but I am just starting with R and very interested in learning how to automate my reports. I am just learning about Sweave and LaTex. I am following an example from online and am getting the following error: .Error unizipping fileunzip not found. I am

Re: [R] odfWeave - merged table cells, and adding information like totals and p-values

2010-02-22 Thread Max Kuhn
The devel version of odfWeave has some multicolumn capabilities. these were added by Patrick Lenon and Zekai Otles recently, but I have not had a chance to test it out. You can go to: https://r-forge.r-project.org/projects/odfweave/ and download the version there if you want to evaluate the

[R] odfWeave - merged table cells, and adding information like totals and p-values

2010-02-21 Thread Polwart Calum (County Durham and Darlington NHS Foundation Trust)
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

Re: [R] odfWeave produces output file that OO can't open

2009-12-14 Thread Max Kuhn
Can you: - run any of the examples in the package's examples directory - provide the results of sessionInfo() - tell us what version of OO - read the posting guide? Max On Sun, Dec 13, 2009 at 2:17 PM, Michael Kubovy kub...@virginia.edu wrote: Dear R-helpers, I'm trying to learn how

[R] odfWeave produces output file that OO can't open

2009-12-13 Thread Michael Kubovy
Dear R-helpers, I'm trying to learn how to use odfSweave. Here is my source file (in /Users/mk/myTeach/2010-1-7720/odfWeave): Analysis of the iris Data Created on \Sexpr{date()} loadLibs, echo = FALSE, results = hide= # I usually load the libraries

Re: [R] odfweave table styles

2009-11-04 Thread Colin Robertson
Thanks! The formattingOut.odt document had exactly what I needed. The style highlight wasnt defined in my environment. Cheers, Colin On Wed, Nov 4, 2009 at 4:59 AM, Max Kuhn mxk...@gmail.com wrote: It's hard to say without a reproducible example or the output form sessionInfo(). Before

[R] odfweave table styles

2009-11-03 Thread Colin Robertson
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) -

Re: [R] odfWeave XML error in post-processing

2009-10-10 Thread Rob James
Just to close out my earlier posting, I have identified and resolved the following odfWeave/XML error: xmlParseStartTag: invalid element name I used odfWeave to call various logistic regression models which included the above mentioned variable. odfWeave failed to generate the

Re: [R] odfWeave XML error in post-processing

2009-10-10 Thread Max Kuhn
There is a function called odfTranslate that will help deal with characters that might confound XML. You might need to use it on the row/column names of your output. Max On Oct 10, 2009, at 11:33 AM, Rob James r...@aetiologic.ca wrote: Just to close out my earlier posting, I have

Re: [R] odfWeave XML error in post-processing

2009-10-09 Thread Duncan Temple Lang
Hi Rob. Without the file content_1.xml or any information from the R call stack (e.g. options(error = recover) and then run the command and dynamically explore the state of affairs when the error occurs), there is no way for us to know what the problem might be. Somehow, the XML parser appears

Re: [R] odfWeave XML error in post-processing

2009-10-09 Thread Rob James
Just so we complete (partially) the web-record... Some further hunting determined that the apos was an apostrophe - obvious only in retrospect! Removal of this character has resolved the Entity errors, but not the xmlParseStartTag: invalid element name errors. I had assumed that the two

[R] odfWeave XML error in post-processing

2009-10-08 Thread Rob James
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

[R] odfWeave : sudden and unexplained error

2009-08-01 Thread Emmanuel Charpentier
Dear list, dear Max, I a currently working on a report. I'm writing it with OpenOffice.org and odfWeave. I'm working increentally : I write a bit, test (interactively) some ideas, cutting-and-pasting code to the Ooo report when satisfied with it. I the process, I tend to recompile the .odt source

  1   2   >