[R] savePlot with % in character string

jim holtman jholtman at gmail.com
Mon Sep 5 06:22:37 CEST 2011


Try putting "%%" (two percent signs).  A feature of the plots is that
they use "%" for the plot number; e.g.,

win.metafile("Rplot%02d.wmf", pointsize = 10)

look at the help page for 'tiff'

On Sun, Sep 4, 2011 at 10:02 PM, John Welsh <jwelsh at sdibr.org> wrote:
>
> This occurred after I installed R x64 2.13.1 on Windows:
>
> savePlot("95%.winners.wmf")
>
> saves the file as:
>
> "951nners.wmf"
>
> Is this the correct behavior, or have I bungled something?
>
>
> John Welsh, Ph.D.
> Associate Professor
> Molecular and Cancer Biology
> Vaccine Research Institute of San Diego
> 10835 Road to the Cure
> San Diego, CA 92121
> Phone: (858) 581-3960 ex.248
> Email: jwelsh at sdibr.org
>
> --
> View this message in context: http://r.789695.n4.nabble.com/savePlot-with-in-character-string-tp3790227p3790227.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org 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.
>



-- 
Jim Holtman
Data Munger Guru

What is the problem that you are trying to solve?



More information about the R-help mailing list