I am not sure if I understood the help page. It says "fixed notation will be preferred unless it is more than âscipenâ digits wider". If I understood correctly it says, the corresponding number needs to be less wider than 'scipen' digit, to print it numerically. Let say:  > options(scipen = 5) > 10^10 [1] 1e+10 > options(scipen = 6) > 10^10 [1] 10000000000
I both cases (10^10) is wider than scipen digit. Still why I am getting different representations? I am missing something? Â Thanks, Â Â --- On Sat, 27/11/10, Peter Ehlers <ehl...@ucalgary.ca> wrote: From: Peter Ehlers <ehl...@ucalgary.ca> Subject: Re: [R] Priniting numerics To: "Ron Michael" <ron_michae...@yahoo.com> Cc: "r-help@r-project.org" <r-help@r-project.org> Date: Saturday, 27 November, 2010, 5:43 PM On 2010-11-27 02:15, Ron Michael wrote: > Hi all, can somebody help me on my little problem? I want to print a number > say "10^10" is numerical format not in scientific notation. I ttied following: > >> options(scipen = 1) >> print(10^10, 10) > [1] 1e+10 > > I am not getting my desired output in simple numerical format. How can I get > that? > You'll need a greater penalty; see ?options. Peter Ehlers > Thanks in advance. > > > Â Â Â [[alternative HTML version deleted]] > [[alternative HTML version deleted]]
______________________________________________ R-help@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.