[R] mode or parameters of readBin

Thomas Lumley tlumley at u.washington.edu
Mon Sep 10 18:10:48 CEST 2007


On Mon, 10 Sep 2007, Sigbert Klinke wrote:

> Hi,
>
> > sapply(formals("readBin"), mode)
>      con      what         n      size    signed    endian
>   "name"    "name" "numeric" "logical" "logical"    "call"
>
> returns for the mode of size logical. But in the documentation is said
> that size should be integer. Does anyone know why the mode is logical?
>

Because NA is a logical constant.

 	-thomas



More information about the R-help mailing list