Re: [Rd] number formsat

2008-02-14 Thread Simon Urbanek
Hill0093, On Feb 14, 2008, at 5:43 PM, hill0093 wrote: > PROBLEM ONE > In my way of using R in print and plots, > R severely ignores formatting requests for numbers. > E.g., >> n1=2008021323595999 >> n1 > [1] 2.008021e+15 >> print(n1,digits=16) > [1] 2008021323595999 >> print(n1,digits=18) > [1]

[Rd] number formsat

2008-02-14 Thread hill0093
PROBLEM ONE In my way of using R in print and plots, R severely ignores formatting requests for numbers. E.g., > n1=2008021323595999 > n1 [1] 2.008021e+15 > print(n1,digits=16) [1] 2008021323595999 > print(n1,digits=18) [1] 2008021323595999 > print(n1,digits=15) [1] 2008021323595999 The e+15 form