Re: [Rd] Numerical error in R (win32) (PR#8909)

2006-05-29 Thread Peter Dalgaard
[EMAIL PROTECTED] writes: > Hi > I had observed the following problem in R (also C, Matlab, and Python). > sprintf('%1.2g\n', 3.15) > give 3.1 instead of 3.2 whereas an input of 3.75 gives 3.8. > Java's System.out.printf is ok though. > > > round(3.75,1) > [1] 3.8 > > round(3.15,1) > [1] 3

Re: [Rd] Numerical error in R (win32) (PR#8909)

2006-05-29 Thread Peter Ehlers
Did you check the Details section of the help page for round()? Peter Ehlers [EMAIL PROTECTED] wrote: > Hi > I had observed the following problem in R (also C, Matlab, and Python). > sprintf('%1.2g\n', 3.15) > give 3.1 instead of 3.2 whereas an input of 3.75 gives 3.8. > Java's System.out.pr

Re: [Rd] Numerical error in R (win32) (PR#8909)

2006-05-29 Thread ligges
[EMAIL PROTECTED] wrote: > Hi > I had observed the following problem in R (also C, Matlab, and Python). > sprintf('%1.2g\n', 3.15) > give 3.1 instead of 3.2 whereas an input of 3.75 gives 3.8. > Java's System.out.printf is ok though. > > >>round(3.75,1) > > [1] 3.8 > >>round(3.15,1) >

Re: [Rd] Numerical error in R (win32) (PR#8909)

2006-05-29 Thread Duncan Murdoch
On 5/29/2006 12:22 PM, [EMAIL PROTECTED] wrote: > Hi > I had observed the following problem in R (also C, Matlab, and Python). > sprintf('%1.2g\n', 3.15) > give 3.1 instead of 3.2 whereas an input of 3.75 gives 3.8. > Java's System.out.printf is ok though. > >> round(3.75,1) > [1] 3.8 >> ro

[Rd] Numerical error in R (win32) (PR#8909)

2006-05-29 Thread teck . lim
Hi I had observed the following problem in R (also C, Matlab, and Python). sprintf('%1.2g\n', 3.15) give 3.1 instead of 3.2 whereas an input of 3.75 gives 3.8. Java's System.out.printf is ok though. > round(3.75,1) [1] 3.8 > round(3.15,1) [1] 3.1 Similar outcome with sprintf in R. Howev

Re: [Rd] memory profiling

2006-05-29 Thread Thomas Lumley
On Fri, 26 May 2006, Prof Brian Ripley wrote: > On Fri, 26 May 2006, Roger D. Peng wrote: > >> I'm interested in playing around with memory profiling in R-devel (as >> described >> at http://developer.r-project.org/memory-profiling.html) and was trying to >> figure out how to compile R-devel so th

Re: [Rd] misspelling of "Mauchly" (PR#8908)

2006-05-29 Thread Peter Dalgaard
[EMAIL PROTECTED] writes: > Hi there, > > The word "Mauchly" is still misspelled as *"Mauchley", at least in > some /output/ of mauchly.test() and in the SSD() help page. > > Sincerely, > Lukas Giesinger Fixed for 2.3.1 -- O__ Peter Dalgaard Ă˜ster Farimagsgade 5, Entr.B

[Rd] misspelling of "Mauchly" (PR#8908)

2006-05-29 Thread g_lukas
Hi there, The word "Mauchly" is still misspelled as *"Mauchley", at least in some /output/ of mauchly.test() and in the SSD() help page. Sincerely, Lukas Giesinger __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel