Hi,

On Apr 10, 2009, at 2:22 AM, Prof Brian Ripley wrote:

This is not a bug (and nothing to do with the subject line).

I felt it did have to do w/ the subject line since it seemed like bug- like behavior to me and one I thought might be simple to correct before 2.9 if that was the case. Sorry if that caused any confusion.

As it turns out, it was just a rather silly oversight on my part and indeed a boneheaded one at that because the behavior would have been clear if I took a quick peak at the implementation of the plot.default function.

Thanks for taking the time to clear it up for me.

-steve

 You need to set 'ylab', e.g.

p2 <- list(x=rnorm(500), main='bug?', col='orange', type='l', ylab="")

Why? Because the default is the deparse of 'x', and that is a long string.

On Thu, 9 Apr 2009, Steve Lianoglou wrote:

Hi,

On Apr 8, 2009, at 3:52 PM, Simon Urbanek wrote:

I would like to remind everyone that we are in the final week of the beta testing of R 2.9.0, so please test the binaries now! There are installers for both the Tiger (32-bit) and Leopard (32- bit and 64-bit) binaries at
http://R.research.att.com/
Reporting bugs right *after* the release is pointless - that's why we are providing beta and rc builds, so please test them well before 4/17! Post any issues you have with it here.

Sorry I can't test this directly since I'm in the middle of doing some analysis and don't want to install 2.9 and have something explode. But it seems like I've hit a bug in R in general (I'm primarily on a mac, but just tested on one of your linux servers (also R 2.8.1), and the same is happening).

R> p2 <- list(x=rnorm(500), main='bug?', col='orange', type='l')
R> do.call(plot, p2)

You see that all of the data points are *written* on the graphics device.

Hmm, you mean their numeric values are written as the y label,

if x are ints, I don't get this problem:

R> p3 <- list(x=1:500, main='bug?', col='orange', type='l')
R> do.call(plot, p3)

They are still written as the y label, in a compact form. Nothing to do with being 'ints', rather a colon sequence.

If you have all ints + 1 double, the problem appears:

R> p4 <- list(x=c(1:500, .5), main='bug?', col='orange', type='l')
R> do.call(plot,p4)

Is this a known bug, or am I doing something boneheaded?

R> sessionInfo()
R version 2.8.1 Patched (2009-01-07 r47515)
i386-apple-darwin9.6.0

locale:
en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

Thanks,
-steve

--
Steve Lianoglou
Graduate Student: Physiology, Biophysics and Systems Biology
Weill Medical College of Cornell University

http://cbio.mskcc.org/~lianos

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

--
Brian D. Ripley,                  [email protected]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

--
Steve Lianoglou
Graduate Student: Physiology, Biophysics and Systems Biology
Weill Medical College of Cornell University

http://cbio.mskcc.org/~lianos

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to