Displaying 5 results from an estimated 5 matches for "imagedefs".
2011 Feb 22
1
odfWeave graphics glitch
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)
title(main="sin(cos(x/pi))")
savePlot("sincosx.png")
@
This is embedded in file example02in.odt, which has very little else.
In R I ru...
2007 Jun 05
1
multiple plot in odfWeave
...;,
border=TRUE, cex=0.8, xpad=0.5, ypad=0.8, font=6)
}
@
Then in the R console:
>library (odfWeave)
>inFile <- "/home/lamilhat/AQUAGENOME/PRESENTATION/RAPPORTS/test_2.odt"
>outFile <-
"/home/lamilhat/AQUAGENOME/PRESENTATION/RAPPORTS/test_2_out.odt"
>imageDefs <- getImageDefs()
>imageDefs$dispWidth <- 7
>imageDefs$dispHeight <- 6
>setImageDefs(imageDefs)
>odfWeave(inFile, outFile)
--
====================================================================
= Laurence Amilhat INRA Toulouse 31326 Castanet-Tolosan =...
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
2009 Feb 04
1
odfweave sample code error
....
I have winzip installed in my system. I used openoffice writer under windows
to create the example1.odt file.
can anybody help me out to fix the bug.
the code executed is as follows:
library(odfWeave)
> inFile <- "c:/example1.odt"
> outFile <- "c:/out.odt"
> imageDefs <- getImageDefs()
> imageDefs$dispWidth <- 4.5
> imageDefs$dispHeight<- 4.5
> setImageDefs(imageDefs)
>
> odfWeave(inFile, outFile)
Copying c:/example1.odt
Setting wd to
C:\DOCUME~1\Srinivas\LOCALS~1\Temp\RtmpAgBGhm/odfWeave04172603473
Unzipping ODF file using unzip -...
2010 Sep 17
1
odfWeave UTF-8 error and latin characters
...make it clear: Windows vista (default language - Brazilian
Portuguese), R 2.11.1, odfWeave 0.7.11, OpenOffice 3.0.1
in my odt file ...
<<tabela2, echo = FALSE, results = xml>>=
odfTable(tabela2,useRowNames=T,name ='Tabela 2')
@
in R console ...
>library(odfWeave)
>imageDefs <- getImageDefs()
>imageDefs$type <- 'bmp'
>imageDefs$device <- 'bmp'
>setImageDefs(imageDefs)
>options(SweaveSyntax="SweaveSyntaxNoweb")
>odfWeave('teste.odt','figura1.odt')
Copying teste.odt
Setting wd to
C:\Users\PEDROE~1\Ap...