[R] "Transparent" background in graphics exported as metafiles

Philippe Grosjean phgrosje at ulb.ac.be
Wed Aug 8 09:11:53 CEST 2001


Hi,

Under Windows, I am exporting graphs from R (in metafile -emf- format), and
want to combine them using a graphic package. It happens that the background
of the graph is represented by a filled rectangle (with the color given by
bg=...). This is to be expected. However, I find no options to disable this
and produce a graph with transparent background. Does such an option exist?
If not, then this could be a useful addition, because it is tricky to edit
the metafile, ungroup de elements, select the background rectangle, delete
it, regroup all the other elements and save the graph in a graphic pachage
just to get transparent background on the graph... This could be simply
bg=False.
Thanks,

Philippe Grosjean

P.S.: I really appreciate the changes made to exported graphs in R to
correct the bug in MS Word 2000 (some metafiles are not correctly displayed
on screen in Word 2000 for Windows). It is amazing that the R-team find a
workaround for this Micro$oft bug... and in the meanwhile, Micro$oft itself
does nothing. This is another example of the poor service of MS, comparing
to a community of volunteers creating a GPL software!!! Many, many thanks to
all guys that contributed to fix this.


...........]<(({°<...............<°}))><...............................
 ) ) ) ) )	 __               	 __
( ( ( ( ( 	|__)              	|  _
 ) ) ) ) )	|   hilippe       	|__)rosjean
( ( ( ( ( 	Marine Biol. Lab., ULB, Belgium
 ) ) ) ) )	                  	 __
( ( ( ( ( 	|\  /|            	|__)
 ) ) ) ) )	| \/ |ariculture &	|__)iostatistics
( ( ( ( (
 ) ) ) ) )	e-mail: phgrosje at ulb.ac.be or phgrosjean at sciviews.org
( ( ( ( ( 	SciViews project coordinator (http://www.sciviews.org)
 ) ) ) ) )      tel: 00-32-2-650.29.70 (lab), 00-32-2-673.31.33 (home)
( ( ( ( (
 ) ) ) ) )      "I'm 100% confident that p is between 0 and 1"
( ( ( ( (                                  L. Gonick & W. Smith (1993)
 ) ) ) ) )
.......................................................................


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list