[R] mean(NA)
Stefano Calza
stecalza at tiscali.it
Thu May 25 14:00:59 CEST 2006
I do get the same under R 2.3.0, Linuex (Debian 3.0)
Stefano
On Thu, May 25, 2006 at 07:39:17AM -0400, Gabor Grothendieck wrote:
<Gabor>Running under Windows XP I get the same result
<Gabor>on "Version 2.3.0 Patched (2006-05-03 r37977)"
<Gabor>but get NA on "R version 2.2.1, 2005-12-20" so
<Gabor>it must relate to some change in R.
<Gabor>
<Gabor>
<Gabor>On 5/25/06, Gorjanc Gregor <Gregor.Gorjanc a bfro.uni-lj.si> wrote:
<Gabor>> Hello!
<Gabor>>
<Gabor>> I was just caught with the following:
<Gabor>>
<Gabor>> > mean(NA)
<Gabor>> [1] -2147483648
<Gabor>>
<Gabor>> Is this OK. I thought that I should get NA. I use R 2.3.0
<Gabor>>
<Gabor>> --please do not edit the information below--
<Gabor>>
<Gabor>> Version:
<Gabor>>
<Gabor>> platform = i386-pc-mingw32
<Gabor>>
<Gabor>> arch = i386
<Gabor>>
<Gabor>> os = mingw32
<Gabor>>
<Gabor>> system = i386, mingw32
<Gabor>>
<Gabor>> status =
<Gabor>>
<Gabor>> major = 2
<Gabor>>
<Gabor>> minor = 3.0
<Gabor>>
<Gabor>> year = 2006
<Gabor>>
<Gabor>> month = 04
<Gabor>>
<Gabor>> day = 24
<Gabor>>
<Gabor>> svn rev = 37909
<Gabor>>
<Gabor>> language = R
<Gabor>>
<Gabor>> version.string = Version 2.3.0 (2006-04-24)
<Gabor>>
<Gabor>> Windows XP Professional (build 2600) Service Pack 2.0
<Gabor>>
<Gabor>> Locale:
<Gabor>>
<Gabor>> LC_COLLATE=Slovenian_Slovenia.1250;LC_CTYPE=Slovenian_Slovenia.1250;LC_MONETARY=Slovenian_Slovenia.1250;LC_NUMERIC=C;LC_TIME=Slovenian_Slovenia.1250
<Gabor>>
<Gabor>> Search Path:
<Gabor>>
<Gabor>> .GlobalEnv, package:methods, package:stats, package:graphics, package:grDevices, package:utils, package:datasets, Autoloads, package:base
<Gabor>>
<Gabor>> Lep pozdrav / With regards,
<Gabor>> Gregor Gorjanc
<Gabor>>
<Gabor>> ----------------------------------------------------------------------
<Gabor>> University of Ljubljana PhD student
<Gabor>> Biotechnical Faculty URI: http://www.bfro.uni-lj.si/MR/ggorjan
<Gabor>> Zootechnical Department mail: gregor.gorjanc <at> bfro.uni-lj.si
<Gabor>> Groblje 3 tel: +386 (0)1 72 17 861
<Gabor>> SI-1230 Domzale fax: +386 (0)1 72 17 888
<Gabor>> Slovenia, Europe
<Gabor>> ----------------------------------------------------------------------
<Gabor>> "One must learn by doing the thing; for though you think you know it,
<Gabor>> you have no certainty until you try." Sophocles ~ 450 B.C.
<Gabor>>
<Gabor>> ______________________________________________
<Gabor>> R-help a stat.math.ethz.ch mailing list
<Gabor>> https://stat.ethz.ch/mailman/listinfo/r-help
<Gabor>> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
<Gabor>>
<Gabor>
<Gabor>______________________________________________
<Gabor>R-help a stat.math.ethz.ch mailing list
<Gabor>https://stat.ethz.ch/mailman/listinfo/r-help
<Gabor>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
More information about the R-help
mailing list