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 in debugging in anyway.

I can produce a graph on my local machine, but on the server the same code
you used produces that exact same problem I mentioned.  It doesn't appear to
be any argument issue in CairoSVG or hist() itself, but rather some inherent
R parameter value which differs between the server and my own and your
machine.  Anyone have any ideas what that might be?

Fong

On Fri, Sep 9, 2011 at 3:31 PM, R. Michael Weylandt <
michael.weylandt@gmail.com> wrote:

> 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't
> replicate the problem...
>
> As a general life question, why in a question about SVG files would you
> send us a PNG screenshot rather than the SVG itself? Can SVG's not be sent
> over the mailing list?
>
> Michael
>
>
> On Fri, Sep 9, 2011 at 5:19 PM, Fong Chun Chan <fongchunchan@gmail.com>wrote:
>
>> 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()
>>
>> Am I missing something here?  Thanks,
>>
>> Fong
>>
>> ______________________________________________
>> R-help@r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>>
>

	[[alternative HTML version deleted]]

