Hi folks,
I'm having a bit of trouble getting plots or histograms using the r
interface in sage.  I'm using the 3.0.2 ubuntu binaries.  I noticed
that trac # 2978 http://sagetrac.org/sage_trac/ticket/2978 shows that
people are aware of this issue already (R not being built with png
support).  I was wondering if there is a simple way to manually
rebuild R with png support.  I didn't see a configure or makefile in
the R subdirectory.
JPEG export also fails, but it seems silently.  The follow code :

a=[random() for i in range(500)]
r.jpeg('histogram.jpeg',width=640,height=480)
r.hist(a,main="test",col="lightblue",prob=True, xlab="val of
random()")
r.lines(r.density(a,bw=0.05),col="black")
r.rug(a)
r.dev_off()

has an output of [1] 0.05, but that is it.

Thanks,
Thomas
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to