[R] Problems with X11 - device

John Logsdon j.logsdon at lancaster.ac.uk
Fri Dec 10 09:54:47 CET 1999

On Thu, 9 Dec 1999, Kurt Gerber wrote:


> >>Kurt Gerber <kgerber at giub.unibe.ch> writes:
> >>
> >>> I started the graphics device with X11(). When I tried to plot a tree object
> >>> with
> >>> > plot (tree) 
> >>> It gives me the error message:
> >>> 
> >>> Error in plot.window(xlim, ylim, log, asp, ...) : invalid xlim
> >>> 
> >>> I was looking in the manual under "plot", "plot.window", etc. but I didn't
> >>> really get the resolution of my problem.....
> >>> What's the problem?
> >>>  


> I still didn' get any answer to  this request, maybe it got lost...
> It is a serious problem. Could it be a problem of my older release? Should I
> update to R.0.90 ? I wanted not to have to compile it my self and there are
> no binaries for SuSE 6.0  for this version.  

I have seen this before but it has always been some silly aspect of the
data I was trying to plot.  Is there any data at all (NAs).  For example:

> y<-x<-c(0,1)
> plot(x,y)

Produces a simple plot as expected but making all x's NA:

> x<-c(NA,NA)
> plot(x,y)
Error in plot.window(xlim, ylim, log, asp, ...) : invalid xlim

gives the error message you get.  Is it possible that the Linux and
Windows version set-ups are leading to different vectors for tree to

I am still using 0.63.3 under RH5.2 which is rock stable so I don't want
to upgrade 'cos there aren't any rpms for later R's under RH5.2!  Very
lazy really!


r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list