No bug. See ?options or ?print.default and note *significant* digits.

 Hth  --  Gerrit

On Fri, 18 Nov 2011, Ravi Kulkarni wrote:

This is in version 2.10.1

sqrt(3)
[1] 1.732051
6/7
[1] 0.8571429
options(digits=3)
sqrt(3)
[1] 1.73
6/7
[1] 0.857
sqrt(7)
[1] 2.65
7/9
[1] 0.778

Ravi

--
View this message in context: 
http://r.789695.n4.nabble.com/Bug-in-options-digits-n-tp4082537p4082537.html
Sent from the R help mailing list archive at Nabble.com.

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

______________________________________________
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