odfWeave problem in 7.1?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

odfWeave problem in 7.1?

Jim Porzak
Max & Friends,

I've run into a problem with odfWeave 0.7.5 running under R 2.7.1
(Windows XP, SP2) doing some monthly production reports.

Under 2.7.1 I'm getting various parsing errors after Sweaving starts, e.g.:

  Sweaving  content.Rnw

  Writing to file content_1.xml
  Processing code chunks ...
Error in parse(text = cmd) : unexpected input in ""
>

Above case works fine under 2.6.2:

 Sweaving  content.Rnw

  Writing to file content_1.xml
  Processing code chunks ...
    1 : term xml(label=MissingTable)
    2 : term xml(label=UnusualTable)
    3 : term verbatim(label=MembCounts)
    4 : term verbatim(label=UsageCounts)
    5 : term verbatim(label=SessionsCounts)
    6 : term verbatim(label=SR_MembershipCounts)
    7 : term verbatim(label=MiscCounts)

  'content_1.xml' has been Sweaved

  Removing content.xml

  Post-processing the contents
  Removing content.Rnw
  Removing styles.xml
  Renaming styles_2.xml to styles.xml
  Removing extra files

  Packaging file using zip -r "24HF_MonthlyLoadQA20Counts_Source.odt" .
  Copying  24HF_MonthlyLoadQA20Counts_Source.odt
  Resetting wd
  Removing  C:/Data/24HF_QA/R/DocsPlots/Work

  Done
>

Any ideas?

TIA,
Jim Porzak
Responsys, Inc.
San Francisco, CA
http://www.linkedin.com/in/jimporzak

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: odfWeave problem in 7.1?

Jim Porzak
I just noticed that CRAN Package check Error for Windows & Mac:
http://www.r-project.org/nosvn/R.check/r-patched-windows-x86_64/odfWeave-00check.html

-Jim


On Thu, Jul 10, 2008 at 3:03 PM, Jim Porzak <[hidden email]> wrote:

> Max & Friends,
>
> I've run into a problem with odfWeave 0.7.5 running under R 2.7.1
> (Windows XP, SP2) doing some monthly production reports.
>
> Under 2.7.1 I'm getting various parsing errors after Sweaving starts, e.g.:
>
>  Sweaving  content.Rnw
>
>  Writing to file content_1.xml
>  Processing code chunks ...
> Error in parse(text = cmd) : unexpected input in " "
>>
>
> Above case works fine under 2.6.2:
>
>  Sweaving  content.Rnw
>
>  Writing to file content_1.xml
>  Processing code chunks ...
>    1 : term xml(label=MissingTable)
>    2 : term xml(label=UnusualTable)
>    3 : term verbatim(label=MembCounts)
>    4 : term verbatim(label=UsageCounts)
>    5 : term verbatim(label=SessionsCounts)
>    6 : term verbatim(label=SR_MembershipCounts)
>    7 : term verbatim(label=MiscCounts)
>
>  'content_1.xml' has been Sweaved
>
>  Removing content.xml
>
>  Post-processing the contents
>  Removing content.Rnw
>  Removing styles.xml
>  Renaming styles_2.xml to styles.xml
>  Removing extra files
>
>  Packaging file using zip -r "24HF_MonthlyLoadQA20Counts_Source.odt" .
>  Copying  24HF_MonthlyLoadQA20Counts_Source.odt
>  Resetting wd
>  Removing  C:/Data/24HF_QA/R/DocsPlots/Work
>
>  Done
>>
>
> Any ideas?
>
> TIA,
> Jim Porzak
> Responsys, Inc.
> San Francisco, CA
> http://www.linkedin.com/in/jimporzak
>

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: odfWeave problem in 7.1?

Dieter Menne
Jim Porzak <jporzak <at> gmail.com> writes:

>
> I just noticed that CRAN Package check Error for Windows & Mac:
>
http://www.r-project.org/nosvn/R.check/r-patched-windows-x86_64/odfWeave-00check.html
>
> >
> > I've run into a problem with odfWeave 0.7.5 running under R 2.7.1
> > (Windows XP, SP2) doing some monthly production reports.
> >
> > Under 2.7.1 I'm getting various parsing errors after Sweaving starts, e.g.:
> >

You might try to download an older version of XML to handle that; we had a
similar problem with special characters, i.e. umlauts:

>>odfWeave and umlauts work with XML 1.9.0, but not with XML 1.95.2

Max Kuhn,  Duncan Murdoch and Nathan Coulter are aware of the problem.

Dieter

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: odfWeave problem in 7.1?

Jim Porzak
Dieter,

Thanks for tip. Well, XML 1.93-2.2 is what's working for me in my
2.6.2 environment:

R2.6.2 environment has XML Version: 1.93-2.2
R2.7.1 environment has XML Version: 1.95-3

Max, I'll try rolling back the XML package in my 2.7.1 environment
this weekend to see if that makes a difference.

-Jim


On Thu, Jul 10, 2008 at 11:35 PM, Dieter Menne
<[hidden email]> wrote:

> Jim Porzak <jporzak <at> gmail.com> writes:
>
>>
>> I just noticed that CRAN Package check Error for Windows & Mac:
>>
> http://www.r-project.org/nosvn/R.check/r-patched-windows-x86_64/odfWeave-00check.html
>>
>> >
>> > I've run into a problem with odfWeave 0.7.5 running under R 2.7.1
>> > (Windows XP, SP2) doing some monthly production reports.
>> >
>> > Under 2.7.1 I'm getting various parsing errors after Sweaving starts, e.g.:
>> >
>
> You might try to download an older version of XML to handle that; we had a
> similar problem with special characters, i.e. umlauts:
>
>>>odfWeave and umlauts work with XML 1.9.0, but not with XML 1.95.2
>
> Max Kuhn,  Duncan Murdoch and Nathan Coulter are aware of the problem.
>
> Dieter
>
> ______________________________________________
> [hidden email] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: odfWeave problem in 7.1?

Prof Brian Ripley
In reply to this post by Dieter Menne
On Fri, 11 Jul 2008, Dieter Menne wrote:
y

> Jim Porzak <jporzak <at> gmail.com> writes:
>
>>
>> I just noticed that CRAN Package check Error for Windows & Mac:
>>
> http://www.r-project.org/nosvn/R.check/r-patched-windows-x86_64/odfWeave-00check.html
>>
>>>
>>> I've run into a problem with odfWeave 0.7.5 running under R 2.7.1
>>> (Windows XP, SP2) doing some monthly production reports.
>>>
>>> Under 2.7.1 I'm getting various parsing errors after Sweaving starts, e.g.:
>>>
>
> You might try to download an older version of XML to handle that; we had a
> similar problem with special characters, i.e. umlauts:
>
>>> odfWeave and umlauts work with XML 1.9.0, but not with XML 1.95.2
>
> Max Kuhn,  Duncan Murdoch and Nathan Coulter are aware of the problem.

There is a Windows version of XML_1.93-2.3.zip available on my repository
to help people work around this long-standing (and oft reported) bug in
odfWeave.  You can access it directly by

http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.7/XML_1.93-2.3.zip

Recent versions of odfWeave/XML only work correctly in UTF-8 locales and
hence not on Windows.

--
Brian D. Ripley,                  [hidden email]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: odfWeave problem in 7.1?

Jim Porzak
Brian,

A VERY belated thank you for your patch to XML package!

It does, as expected, fix problems I was having.

Best,
Jim Porzak
Responsys, Inc.
San Francisco, CA
http://www.linkedin.com/in/jimporzak
useR Group SF: http://ia.meetup.com/67/



On Sat, Jul 12, 2008 at 10:39 AM, Prof Brian Ripley
<[hidden email]> wrote:

> On Fri, 11 Jul 2008, Dieter Menne wrote:
> y
>>
>> Jim Porzak <jporzak <at> gmail.com> writes:
>>
>>>
>>> I just noticed that CRAN Package check Error for Windows & Mac:
>>>
>>
>> http://www.r-project.org/nosvn/R.check/r-patched-windows-x86_64/odfWeave-00check.html
>>>
>>>>
>>>> I've run into a problem with odfWeave 0.7.5 running under R 2.7.1
>>>> (Windows XP, SP2) doing some monthly production reports.
>>>>
>>>> Under 2.7.1 I'm getting various parsing errors after Sweaving starts,
>>>> e.g.:
>>>>
>>
>> You might try to download an older version of XML to handle that; we had a
>> similar problem with special characters, i.e. umlauts:
>>
>>>> odfWeave and umlauts work with XML 1.9.0, but not with XML 1.95.2
>>
>> Max Kuhn,  Duncan Murdoch and Nathan Coulter are aware of the problem.
>
> There is a Windows version of XML_1.93-2.3.zip available on my repository to
> help people work around this long-standing (and oft reported) bug in
> odfWeave.  You can access it directly by
>
> http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.7/XML_1.93-2.3.zip
>
> Recent versions of odfWeave/XML only work correctly in UTF-8 locales and
> hence not on Windows.
>
> --
> Brian D. Ripley,                  [hidden email]
> Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
> University of Oxford,             Tel:  +44 1865 272861 (self)
> 1 South Parks Road,                     +44 1865 272866 (PA)
> Oxford OX1 3TG, UK                Fax:  +44 1865 272595
>
> ______________________________________________
> [hidden email] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.