[R] mean(NA)

Gorjanc Gregor Gregor.Gorjanc at bfro.uni-lj.si
Thu May 25 13:31:14 CEST 2006


Hello!
 
I was just caught with the following:
 
> mean(NA)
[1] -2147483648
 
Is this OK. I thought that I should get NA. I use R 2.3.0
 
--please do not edit the information below--

Version:

platform = i386-pc-mingw32

arch = i386

os = mingw32

system = i386, mingw32

status = 

major = 2

minor = 3.0

year = 2006

month = 04

day = 24

svn rev = 37909

language = R

version.string = Version 2.3.0 (2006-04-24)

Windows XP Professional (build 2600) Service Pack 2.0

Locale:

LC_COLLATE=Slovenian_Slovenia.1250;LC_CTYPE=Slovenian_Slovenia.1250;LC_MONETARY=Slovenian_Slovenia.1250;LC_NUMERIC=C;LC_TIME=Slovenian_Slovenia.1250

Search Path:

.GlobalEnv, package:methods, package:stats, package:graphics, package:grDevices, package:utils, package:datasets, Autoloads, package:base

Lep pozdrav / With regards,
    Gregor Gorjanc

----------------------------------------------------------------------
University of Ljubljana     PhD student
Biotechnical Faculty        URI: http://www.bfro.uni-lj.si/MR/ggorjan
Zootechnical Department     mail: gregor.gorjanc <at> bfro.uni-lj.si
Groblje 3                   tel: +386 (0)1 72 17 861
SI-1230 Domzale             fax: +386 (0)1 72 17 888
Slovenia, Europe
----------------------------------------------------------------------
"One must learn by doing the thing; for though you think you know it,
 you have no certainty until you try." Sophocles ~ 450 B.C.



More information about the R-help mailing list