Re: [R] Using SVG in R

2011-09-09 Thread Fong Chun Chan
Unfortunately yes. The whole SVG format doesn't seem to work for some reason on the server... Fong On Fri, Sep 9, 2011 at 4:35 PM, R. Michael Weylandt < michael.weyla...@gmail.com> wrote: > To be honest, I don't know much about SVG files so we might have to wait > for someone more knowledgeable

Re: [R] Using SVG in R

2011-09-09 Thread R. Michael Weylandt
To be honest, I don't know much about SVG files so we might have to wait for someone more knowledgeable to come along, but do you get the same problem using the regular svg() command? Michael On Fri, Sep 9, 2011 at 5:40 PM, Fong Chun Chan wrote: > For convenience on my end since the plot was gen

Re: [R] Using SVG in R

2011-09-09 Thread Fong Chun Chan
For convenience on my end since the plot was generated on a server and having to actually grab the file would have required a ftp or scp. A screenshot would have gotten the point across as I just wanted to show what it the problem looks like. If necessary, I can send the actual svg if that helps

Re: [R] Using SVG in R

2011-09-09 Thread R. Michael Weylandt
Perhaps the problem could be solved by playing with the pointsize argument to CairoSVG or the various plotting parameters of hist(). More generally, this code: R> library(CairoSVG) R> CairoSVG() R> hist(rpois(500,3)) R> dev.off() produced an entirely acceptable SVG image on my computer so I can'

[R] Using SVG in R

2011-09-09 Thread Fong Chun Chan
Hi, I've been trying to use SVG in R using the function svg, but all my my graphics end up with the text being very small to be point you can't even see them. I've attached a screenshot of what the output for a histogram looks like. Here is my code: CairoSVG('file/location') hist() dev.off(