HI, Dear R community,

I have used the following codes this morning, but this afternoon, I got the
following errors:

> x <- seq(0,10, by=1)
> y <- c(0.952, 0.947, 0.943, 0.941, 0.933, 0.932, 0.939, 0.932, 0.924,
0.918, 0.920) # missense
> z <- c(0.068, 0.082, 0.080, 0.099, 0.108, 0.107, 0.101, 0.105, 0.118,
0.130, 0.132) # missense False Negative
> p <- c(0.035, 0.036, 0.044, 0.035, 0.043, 0.044, 0.037, 0.044, 0.051,
0.052, 0.048) # missense False Positive
> xlab<-"Missense (%)"
>
> par()$mar  #view the value of margin  [1] 5.1 4.1 4.1 2.1
Error in function (display = "", width, height, pointsize, gamma, bg,  :
  X11 module cannot be loaded
>
> par(mar=c(5, 4, 5, 5) + 0.1)
Error in function (display = "", width, height, pointsize, gamma, bg,  :
  X11 module cannot be loaded
>
> # plot x vs. y
> plot(x, y,type="b", pch=21, col="red", yaxt="n", lty=1, xlab="", ylab="",
ylim=c(0.91, 0.955)) #yaxt=n suppress the y axis.
Error in function (display = "", width, height, pointsize, gamma, bg,  :
  X11 module cannot be loaded
>
> # draw an axis on the left
> yvalue<-c(0.92, 0.93, 0.94, 0.95)
> axis(2, at=yvalue, labels=yvalue, col.axis="red", las=2)
Error in function (display = "", width, height, pointsize, gamma, bg,  :
  X11 module cannot be loaded


I googled the X11 module, still not understand, can anyone help me with
this?

Thanks!



-- 
Sincerely,
Changbin
--

	[[alternative HTML version deleted]]

