Hi Yucheng, Have a look at "An Introduction to R" (get there with "help.start()"), section :
3.1 Intrinsic attributes: mode and length The distinction between numeric and integer modes in R may not be obvious, but it is important at times. Jim On Fri, Sep 2, 2016 at 5:47 AM, Yucheng Song via R-help <r-help@r-project.org> wrote: > Hi, In the help or readBin, there is an "int", but actually there is no > int(), do you mean some other types? In fact, numeric() is kind of > misleading, what does it mean? > what Either an object whose mode will give the mode of the vector to be read, > or a character vector of length one describing the mode: one of "numeric", > "double", "integer", "int", "logical", "complex", "character", "raw". > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.