On Jan 21, 5:06 pm, William Stein <[email protected]> wrote:
> On Wed, Jan 21, 2009 at 1:39 PM, Brett Nakashima <[email protected]> wrote:
>
> > On Jan 21, 12:50 pm, William Stein <[email protected]> wrote:
> >> On Wed, Jan 21, 2009 at 12:36 PM, Brett Nakashima <[email protected]>
> >> wrote:
>
> >> > Is it possible to install the X11 dev headers and recompile R?
>
> >> OK, I just did this. Can you test that it worked?
>
> > It doesn't seem to. I'm still getting an X11 error
>
> What's the simplest input you would like to try?
>
> Did you restart your sage worksheet first?
As a test, I've done this:
"""
####################
# R test
import os
from rpy import r
x = [float(RR.random_element(0, 10)) for x in range(100)]
r.png(os.curdir + "/test_r_hist.png", width=400, height=400)
r.hist(x, main="Hello", sub="World", xlab="some labels")
_ = r.dev_off()
"""
Which gives me the previous error. I tried restarting the worksheet
as well.
> -- William
>
>
>
> > """
> > rpy.RPy_RException: Error in function (filename = "Rplot%03d.png",
> > width = 480, height = 480, :
> > X11 is not available
> > """
>
> >> -- William
>
> --
> William Stein
> Associate Professor of Mathematics
> University of Washingtonhttp://wstein.org
Thanks,
Brett
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---