Henrik Bengtsson
2013-Jul-31 02:59 UTC
[Rd] Adding text comments to graphics device output files?
Hi, several image file format supports textual/meta data comments in one way or the other. For me an obvious usage would be to add sessionInfo() information to PNG and PDF image files, ideally from within R although external tools would work as well(*). Has anyone looked into this or have any suggestions or comments? /Henrik (*) One could even imagine including self-contained R scripts/vignettes within such comments.
Duncan Temple Lang
2013-Jul-31 03:04 UTC
[Rd] Adding text comments to graphics device output files?
Hi Henrik I have some extensions of Simon U's png package to read and write metadata elements for PNG. They are at https://github.com/duncantl/png.git When I have time to completely test them, maybe Simon may incorporate them. D. On 7/30/13 7:59 PM, Henrik Bengtsson wrote:> Hi, > > several image file format supports textual/meta data comments in one > way or the other. For me an obvious usage would be to add > sessionInfo() information to PNG and PDF image files, ideally from > within R although external tools would work as well(*). Has anyone > looked into this or have any suggestions or comments? > > /Henrik > > (*) One could even imagine including self-contained R > scripts/vignettes within such comments. > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >
Seemingly Similar Threads
- capture.output() duplicates last line unless newline (R-devel bug)
- class() on substitute(...) output?
- Output to "raw console" rather than stdout/stderr?
- CRAN: How to list a non-Sweave doc under "Vignettes:" on package page?
- R Language Definition: Subsetting matrices with negative indices is *not* an error