[Rd] R1.8.0 and virtual PC (PR#4708)

Duncan Murdoch dmurdoch at pair.com
Tue Oct 21 20:55:34 MEST 2003

On Tue, 21 Oct 2003 19:25:49 +0200 (MET DST), lbagua at yahoo.co.jp wrote

>Dear Sir/Madam
>First, I should tell that I'm using virtual PC "w2k" in a mac osx 10.2.
>The problem: I recently downloaded the windows version 1.8.0. I found 
>the following problem with the instruction plot.
>E.g., if I type the following instructions, I got the following error 
> > x = 1:10
> > y = 2*x
> > plot(x,y)
>Hit <Return> to see next plot:
>Error in plot.window(xlim, ylim, log, asp, ...) :
>         need finite xlim values
>In addition: Warning messages:
>1: no finite arguments to max; returning -Inf
>2: no finite arguments to max; returning -Inf
>The problem disappears when I explicitly type xlim and ylim (e.g.,  
>plot(x,y, xlim=c(0,10), ylim=c(0,20)) )
>I also found a similar problem in the instructions "demo(image)" and 
>This problem does not occur in version 1.7.1
>Is it something to do with the fact I'm using a Virtual PC program?

It probably is, since that error doesn't show up for me in Windows.
However, I don't get the "Hit <return> to see next plot" either,
because I don't have par(ask=TRUE); it's conceivable it's some other
par() option you've set that is causing the problem.

Duncan Murdoch

More information about the R-devel mailing list