[R] Suppressing scientific notation on plot axis tick labels

Meyners, Michael, LAUSANNE, AppliedMathematics Michael.Meyners at rdls.nestle.com
Tue Feb 2 17:16:44 CET 2010


Strange, the following works reproducibly on my machine (Windows 2000
Pro):

options(scipen = 50, digits = 5)
x  = c(1e7, 2e7)
?barplot
barplot(x) 

while I also get scientific with your code. After I called ?barplot
once, I'm incapable of getting the scientific notation again, though...
But I admit that I am outdated, I still run 2.8.1 (but not for long...)

Michael


> -----Original Message-----
> From: r-help-bounces at r-project.org 
> [mailto:r-help-bounces at r-project.org] On Behalf Of Dimitri Shvorob
> Sent: Dienstag, 2. Februar 2010 12:59
> To: r-help at r-project.org
> Subject: Re: [R] Suppressing scientific notation on plot axis 
> tick labels
> 
> 
> options(scipen = 50, digits = 5)
> x  = c(1e7, 2e7)
> barplot(x) 
> 
> Still scientific...
> --
> View this message in context: 
> http://n4.nabble.com/Suppressing-scientific-notation-on-plot-a
xis-tick-labels-tp1459697p1459828.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
> 



More information about the R-help mailing list