*As usual, the R-helpers were bang on.  Some package must have modified my
digits option without me noticing.*
**
*------------------*
**
*> test <- matrix(c(7,47,4,38,20,96,1,14,10,48,2,101,12,161,
+ 1,28,1,19,22,49,25,162,31,200,9,39,22,193,
+ 0.5,45.5,31,131,4,75,31,220,7,55,3,91,14.5,
+ 25.5,3,65,25,54,24,41,37,95,11,17,26,49,13,
+ 84,38,170,29,60,9,20,44,47,30,160,40,185,10,
+ 41,40,185,4.5,46.5,60,140,12,75,42,225,26,57,
+ 17,92,23.5,23.5,6,68), ncol=2, byrow=T)

> test[15,2]
[1] 46*
*
> getOption('digits')
[1] 2

> options(digits=7)

> test[15,2]
[1] 45.5
------------------------

Thanks to the 3 guys who responded within minutes of my email.

Brant
* **

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