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
message:
> 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
"demo(graphics)"
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?
Thank you in advance
Luis Borda de Agua
P.S. If you are wondering why I'm using R in a virtual PC it is because
I frequently use WinBUGS (no version for mac as far as I'm aware).
________________________________________________________
Luis Borda de Agua (PhD)
Department of Renewable Resources
751 General Services Building
University of Alberta
Edmonton, AB Canada T6G 2H1
Phone: (780) 492-0715;
Fax: (780) 492-4323
Email: lbagua@ yahoo.co.jp
__________________________________________________
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/
On Tue, 21 Oct 2003 19:25:49 +0200 (MET DST), lbagua@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 >message: > > > 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 >"demo(graphics)" > >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
On Tue, 21 Oct 2003 lbagua@yahoo.co.jp wrote:> Dear Sir/Madam > > First, I should tell that I'm using virtual PC "w2k" in a mac osx 10.2. >It would probably be easier (and faster) to use RAqua in OS X, rather than the windows version under virtual PC. -thomas