Re: [Rd] Identifying graphics files produced by R

2009-02-15 Thread Liviu Andronic
On Sun, Feb 15, 2009 at 8:48 PM, Paul Murrell wrote: > I know that pdf() adds similar "Creator" information. I don't recall > seeing anything like this for the raster devices, but I've worked less > with them so I don't know for sure. > By default PDF vector graphs get: > pdf.options() [..] $titl

Re: [Rd] Identifying graphics files produced by R

2009-02-15 Thread Paul Murrell
Hi David M Smith wrote: > Oftentimes, I see graphs on the web that *look* like they've been > produced by R, but I can never be sure. Or can I? I notice that > PostScript files include a "%%%Creator: R Software" line, but do R > graphics drivers encode any identifying information in GIF or PNG

Re: [Rd] Identifying graphics files produced by R

2009-02-14 Thread Romain Francois
Hi, I don't know the answer but here is how I would try to get it from the source: $ cd R-devel/src $ grep -R "R Software" * Binary file library/grDevices/src/grDevices.so matches library/grDevices/src/devPS.c:fprintf(fp, "Creator: R Software\n"); Binary file library/grDevices/src/dev

[Rd] Identifying graphics files produced by R

2009-02-13 Thread David M Smith
Oftentimes, I see graphs on the web that *look* like they've been produced by R, but I can never be sure. Or can I? I notice that PostScript files include a "%%%Creator: R Software" line, but do R graphics drivers encode any identifying information in GIF or PNG files more commonly used on the we