Thanks a lot.
Worked :)

--- On Wed, 11/17/10, Henrique Dallazuanna <www...@gmail.com> wrote:

From: Henrique Dallazuanna <www...@gmail.com>
Subject: Re: [R] reduce print accuracy
To: "Alaios" <ala...@yahoo.com>
Cc: "Rhelp" <r-help@r-project.org>
Date: Wednesday, November 17, 2010, 10:58 AM

Try this:

print(c(0.9333333333333333, 0.9333333333333333, 0.0666666666667), 1)


On Wed, Nov 17, 2010 at 8:55 AM, Alaios <ala...@yahoo.com> wrote:


Hello everyone.

Consider the following number below:



 0.9333333333333333 0.9333333333333333 0.0666666666667



Is it possible to print them with less digits like 0.93 0.93 0.06 (but without 
losing the R's accuracy).



I would like to thank you in advance

Best Regards

Alex









        [[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.





-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O




      
        [[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.

Reply via email to