Hi
see
?options and scipen parameter
e.g. options(scipen=9)
Regards
Petr
r-help-bounces at r-project.org napsal dne 24.06.2010 08:39:29:
> Hi,
>
> The format problem is really annoying. How to get rid of it?
>
> x
> [1] 1e+06
>
> And also when I do barplot,
>
> x=rnorm(100,mean=1000)
>
barplot(table(cut(x,breaks=c(0,50,100,150,200,250,300,350,400,450,500,1000,> 2000,5000,10000))))
>
> The data will show as scientific format, when it is larger than 999
(1e+03,> 5e+3).
>
> I would like all the data in the digit format (1000, 5000).
>
> Does any function works for this?
>
> Big thanks
>
> Yi
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> 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.