[R] reduce printing accuracy

Alaios alaios at yahoo.com
Sat May 28 10:17:55 CEST 2011


Thanks a lot :)

--- On Sat, 5/28/11, Joshua Wiley <jwiley.psych at gmail.com> wrote:

> From: Joshua Wiley <jwiley.psych at gmail.com>
> Subject: Re: [R] reduce printing accuracy
> To: "Alaios" <alaios at yahoo.com>
> Cc: R-help at r-project.org
> Date: Saturday, May 28, 2011, 8:48 AM
> Hi Alex,
> 
> See ?options  in particular the "digits"
> section.  You can (per
> session) edit this by typing:
> 
> options(digits = 3)
> 
> or whatever number you want.  To make this more
> permanent, create a
> .Rprofile that alters the default digits.
> 
> HTH,
> 
> Josh
> 
> On Sat, May 28, 2011 at 12:36 AM, Alaios <alaios at yahoo.com>
> wrote:
> > Dear all,
> > I would like to print a few values with less digits
> than the default.
> > How I can reduce how many digits are printed
> ?(warning: not the real integer resolution but what is shown
> in screen)
> >
> >
> > Best Regards
> > Alex
> >
> > ______________________________________________
> > 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.
> >
> 
> 
> 
> -- 
> Joshua Wiley
> Ph.D. Student, Health Psychology
> University of California, Los Angeles
> http://www.joshuawiley.com/
>



More information about the R-help mailing list