Obrigado pela atenção Walmes.<div><br></div><div>Estou usando o seguinte código no R:</div><div><b><br></b></div><div><div><b>library(odfWeave)</b></div><div><b>odfWeave("Fonte.odt","Saida.odt")</b></div>
<div><br></div><div>onde o arquivo Fonte.odt tem o seguinte código:</div><div><br></div><div><p class="western"><b><<cemNumeros, echo=FALSE>>=</b></p>
<p class="western"><b>cemNumeros<-round(rnorm(10,74,2.34))</b></p>
<p class="western"><b>summary(cemNumeros)</b></p>
<p class="western"><b>@</b></p><p class="western">Não usei aspas neste código. o log da função aplicada é:</p><p class="western"><span class="Apple-style-span" style="border-collapse:separate;font-family:Arial;border-spacing:0px"><span class="Apple-style-span" style="font-family:'DejaVu Sans Mono';line-height:15px;text-align:-webkit-left;white-space:pre-wrap"></span></span></p>
<pre tabindex="0" class="GD40030CLR" style="font-family:'DejaVu Sans Mono';outline:none;border-style:none;white-space:pre-wrap!important;margin-top:0px;margin-bottom:0px;line-height:1.3"><font size="1">Copying Fonte.odt
Setting wd to C:\Users\DIOGO\AppData\Local\Temp\Rtmp4qATRq/odfWeave24193047992
Unzipping ODF file using unzip -o "Fonte.odt"
Archive: Fonte.odt
extracting: mimetype
creating: Configurations2/statusbar/
inflating: Configurations2/accelerator/current.xml
creating: Configurations2/floater/
creating: Configurations2/popupmenu/
creating: Configurations2/progressbar/
creating: Configurations2/toolpanel/
creating: Configurations2/menubar/
creating: Configurations2/toolbar/
creating: Configurations2/images/Bitmaps/
inflating: content.xml
inflating: manifest.rdf
inflating: styles.xml
extracting: meta.xml
extracting: Thumbnails/thumbnail.png
inflating: settings.xml
inflating: META-INF/manifest.xml
Removing Fonte.odt
Creating a Pictures directory
Pre-processing the contents
Sweaving content.Rnw
Writing to file content_1.xml
Processing code chunks ...
1 : term verbatim(label=cemNumeros)
'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 manifest.xml
Renaming manifest_2.xml to manifest.xml
Removing extra files
Packaging file using zip -r "Fonte.odt" .
adding: Configurations2/ (164 bytes security) (stored 0%)
adding: Configurations2/accelerator/ (164 bytes security) (stored 0%)
adding: Configurations2/accelerator/current.xml (164 bytes security) (stored 0%)
adding: Configurations2/floater/ (164 bytes security) (stored 0%)
adding: Configurations2/images/ (164 bytes security) (stored 0%)
adding: Configurations2/images/Bitmaps/ (164 bytes security) (stored 0%)
adding: Configurations2/menubar/ (164 bytes security) (stored 0%)
adding: Configurations2/popupmenu/ (164 bytes security) (stored 0%)
adding: Configurations2/progressbar/ (164 bytes security) (stored 0%)
adding: Configurations2/statusbar/ (164 bytes security) (stored 0%)
adding: Configurations2/toolbar/ (164 bytes security) (stored 0%)
adding: Configurations2/toolpanel/ (164 bytes security) (stored 0%)
adding: content.xml (164 bytes security) (deflated 97%)
adding: manifest.rdf (164 bytes security) (deflated 54%)
adding: META-INF/ (164 bytes security) (stored 0%)
adding: META-INF/manifest.xml (164 bytes security) (deflated 83%)
adding: meta.xml (164 bytes security) (deflated 56%)
adding: mimetype (164 bytes security) (stored 0%)
adding: Pictures/ (164 bytes security) (stored 0%)
adding: settings.xml (164 bytes security) (deflated 84%)
adding: styles.xml (164 bytes security) (deflated 92%)
adding: Thumbnails/ (164 bytes security) (stored 0%)
adding: Thumbnails/thumbnail.png (164 bytes security) (deflated 31%)
Copying Fonte.odt
Resetting wd
Removing C:\Users\DIOGO\AppData\Local\Temp\Rtmp4qATRq/odfWeave24193047992</font></pre><p></p></div><div><br></div><div>Fiz as alterações que sugeriste mas infelizmente não funfou. As versões são BrOffice 3.3 e LibreOffice 3.5.</div>
-- <br><font color="#888888"><div><div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px">///\\\///\\\///\\\///\\\///\\\///\\\///\\\///\\\<br>
</span></div>
<div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px">Diogo
Braga Mendes</span></div>
<div><span style="font-family:arial,sans-serif">Bacharel em
Estatística, </span><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px">CONRE 9558</span></div>
</div>
<div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px">Fone:
<a value="+559182397799">(91) 8239-7799</a></span></div>
<div>
<div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px">///\\\///\\\///\\\///\\\///\\\///\\\///\\\///\\\</span></div>
<div><font face="arial, sans-serif">
<div><span style="font-family:arial">“O âmago da
ciência, que sempre se apresenta como a mais
importante no que refere a resultados práticos, é a
pesquisa altamente teórica e abstrata, nascida da
infatigável curiosidade, flexibilidade e força da
razão humana”</span></div>
</font></div>
Andrei Sakharov In Análise Harmônica de Processos
Estocásticos</div></font><br>
</div>