[Tikzdevice-bugs] A problem on 'sanitize = FALSE' when using pgfSweave

Yihui Xie xieyihui at gmail.com
Tue Sep 7 04:56:07 CEST 2010


Perfect! Thanks a lot!

Regards,
Yihui
--
Yihui Xie <xieyihui at gmail.com>
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA



On Mon, Sep 6, 2010 at 9:21 PM, Cameron Bracken
<cameron.bracken at gmail.com> wrote:
> Yihui-
>
> Sounds reasonable, I can add that pretty quickly.  Should be able to
> push the changes to CRAN sometime this week.
>
> -Cameron
>
>
>
> On Sun, Sep 5, 2010 at 10:59 PM, Yihui Xie <xieyihui at gmail.com> wrote:
>> Hi smart tikzDevice team,
>>
>> I've been writing a book on R graphics using pgfSweave and tikzDevice
>> for several months, and everything works perfect until now: finally I
>> reached a case in which I have no control of the string containing '%'
>> in a plot. I could have used sanitize=TRUE in tikz(), but as I'm using
>> pgfSweave, I wish I can avoid hard-coding like this:
>>
>> <<fig=FALSE, tikz=FALSE>>=
>> tikz('some-plot.tikz', sanitize=TRUE)
>> {plot something}
>> dev.off()
>> \input{some-plot.tikz}
>> @
>>
>> So I request that 'sanitize' could take values from a global option
>> like options(sanitize = TRUE/FALSE), or equivalently add an extra
>> option in pgfSweave named 'sanitize'.
>>
>> Thanks so much for the great tools!
>>
>> Regards,
>> Yihui
>> --
>> Yihui Xie <xieyihui at gmail.com>
>> Phone: 515-294-2465 Web: http://yihui.name
>> Department of Statistics, Iowa State University
>> 2215 Snedecor Hall, Ames, IA
>>
>


More information about the Tikzdevice-bugs mailing list