[R] displaying numbers not in scientific notation

Gabor Csardi csardi at rmki.kfki.hu
Fri Apr 28 05:32:44 CEST 2006


> 4.485107e-10 
[1] 4.485107e-10
> options(scipen=100)
> 4.485107e-10
[1] 0.0000000004485107

?options and search for scipen

Gabor

On Thu, Apr 27, 2006 at 11:24:49PM -0400, Brian Quinif wrote:
> Sorry for asking such a simple question, but I couldn't find the
> answer through a search...
> 
> How can I get R to show me the values of estimates *not* in scientific notation?
> 
> When I use summary() after using lm() I am getting numbers like
> 4.485107e-01, when what I want to see is 0.4485....
> 
> Thanks,
> 
> Brian
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

-- 
Csardi Gabor <csardi at rmki.kfki.hu>    MTA RMKI, ELTE TTK




More information about the R-help mailing list