[Tikzdevice-bugs] tikz & pgfSweave queries
Sharpie
chuck at sharpsteen.net
Thu Feb 10 22:58:56 CET 2011
On Thursday, February 10, 2011 6:18:27 AM UTC-8, baptiste auguie wrote:
>
> Dear Charlie and Cameron,
>
> I'm enjoying your packages tikzDevice and pgfSweave, which I intend to
> use for my package vignettes. I have a short list of queries / buglets
> for which I'd like your opinion (in no particular order),
>
> - the linewidth is incorrect with tikz (see example attached). Is this
> a known issue?
>
It is known now :)
Apparently the code responsible for calculating line width is not doing it's
job for some reason, I filed a bug report at:
https://github.com/Sharpie/RTikZDevice/issues#issue/20
The attachments got scrubbed from your email. Since I've hit my lifetime
limit on fighting the Mailman admin interface, I've placed the attachments
in a gist available at:
https://gist.github.com/821435
> - pgfSweave provides access to the highlight package (great, thanks!),
> however I couldn't find a way to use the boxes option to surround the
> code in a frame. Did I miss the option?
>
> - I use a hack inspired from Rcpp to generate the vignettes during R
> CMD BUILD with pgfSweave, essentially having a fake vignette for
> Sweave and a makefile to copy files, etc. Do you know if the situation
> might improve? I vaguely recall a discussion on R-devel where members
> of R-core weren't against the idea of allowing different engines to
> process the vignettes, but I don't know if steps have been taken
> towards this.
>
I saw that thread on R-Devel as well and was quite excited about it. As
Cameron mentioned, the tikzDevice uses a rather brutal hack that re-writes,
the Sweave internals while Sweave is processing the Rnw file and it would be
nice to drop this in favor of something that is officially supported.
However, Romain's patch hasn't been integrated into the R trunk yet. I
just bumped the R-devel thread with a request for a status update---if other
people chimed in as well, it would help motivate R-Core to implement it.
> Best regards,
>
> baptiste
>
> sessionInfo()
> R version 2.12.1 Patched (2010-12-30 r53895)
> Platform: i386-apple-darwin9.8.0 (32-bit)
>
> locale:
> [1] en_GB.UTF-8/en_GB.UTF-8/C/C/en_GB.UTF-8/en_GB.UTF-8
>
> attached base packages:
> [1] grid stats graphics grDevices utils datasets
> methods base
>
> other attached packages:
> [1] gridExtra_0.7 ggplot2_0.8.9 proto_0.3-8 reshape_0.8.3 plyr_1.2.1
>
> loaded via a namespace (and not attached):
> [1] digest_0.4.2 lattice_0.19-13
>
>
More information about the Tikzdevice-bugs
mailing list