[R] floor() rounding problem?

2005-08-09 Thread Simon Woodhead
Dear all, Could someone please explain the following perculiarity? 2 == 0.2/0.1 [1] TRUE 3 == 0.3/0.1 [1] FALSE Similarly, floor(0.2/0.1) = 2 floor(0.3/0.1) = 2 Thank you, Simon __ R-help@stat.math.ethz.ch mailing list

[R] Viewport parameters

2004-07-09 Thread Simon Woodhead
Hello all, In the Grid addon package from Paul Murrell is there a way of finding the parameter settings for the viewport you are in? I understand in Lattice there is a function trellis.get.par(), is there something similar for Grid? Cheers Simon Woodhead

[R] Plots default to Rplots.ps

2003-08-20 Thread Simon Woodhead
. Simon Woodhead __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

[R] grid Graphics by Paul Murrell

2003-08-20 Thread Simon Woodhead
Dear All, I've been trying to format a plot output using par() with mfrow, fin, mai, etc and basically it's proving to be a pain. I searched on google and found that Paul Murrell had written a grid Graphics program which seems perfect. However, when I try and use say viewport() I just get a

Re: [R] Plots default to Rplots.ps

2003-08-20 Thread Simon Woodhead
Martyn Plummer wrote: It looks like you have compiled R without support for X11, so the default plotting device is postscript(). You need to install the XFree86-devel package and recompile, or else use the ready made RPM packages on CRAN: http://cran.r-project.org/bin/linux/redhat/9/i386/ Martyn