Re: [R] reduce printing accuracy

From: Alaios <alaios_at_yahoo.com>
Date: Sat, 28 May 2011 01:17:55 -0700 (PDT)


Thanks a lot :)

> From: Joshua Wiley <jwiley.psych_at_gmail.com>
> Subject: Re: [R] reduce printing accuracy
> To: "Alaios" <alaios@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/
>



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. Received on Sat 28 May 2011 - 08:20:30 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 28 May 2011 - 10:00:11 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive