[Rd] 'is.integer' (PR#13671)
Charles C. Berry
cberry at tajo.ucsd.edu
Wed Apr 22 21:57:44 CEST 2009
On Wed, 22 Apr 2009, hzambran.newsgroups at gmail.com wrote:
> Full_Name: Mauricio
> Version: 2.9.0 (2009-04-17)
> OS: i486-pc-linux-gnu
> Submission from: (NULL) (193.205.203.3)
>
>
> This is a very simple function that seems not to be working, according to the
> definition given by '?is.integer'.
>
> I checked in the Bug Tracking page at http://bugs.R-project.org/, but I didn't
> find any related message.
>
> The possible problem is:
>
>
>> is.integer(1)
> [1] FALSE
>
> and 1 is obviously an integer value.
Obvious?
You must know something I do not, as the protagonist of Zen and the Art of
Motorcylce Maintenance would have pointed out.
And if you do then it is not really obvious.
> is.double(1)
[1] TRUE
1L _is_ an integer.
> is.integer(1L)
[1] TRUE
>
So this is not a bug. Please see the FAQ for advise on not posting
non-bugs.
Chuck
>
>
> I would really appreciate if you could clarify if this is really a bug or not.
>
> Thanks in advance,
>
> Mauricio
>
>> version
> _
> platform i486-pc-linux-gnu
> arch i486
> os linux-gnu
> system i486, linux-gnu
> status
> major 2
> minor 9.0
> year 2009
> month 04
> day 17
> svn rev 48333
> language R
> version.string R version 2.9.0 (2009-04-17)
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
Charles C. Berry (858) 534-2098
Dept of Family/Preventive Medicine
E mailto:cberry at tajo.ucsd.edu UC San Diego
http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901
More information about the R-devel
mailing list