From hzambran.newsgroups at gmail.com  Thu Apr 23 14:35:48 2009
From: hzambran.newsgroups at gmail.com (Mauricio Zambrano)
Date: Thu, 23 Apr 2009 14:35:48 +0200
Subject: [Rd] 'is.integer' (PR#13671)
In-Reply-To: <9C0B0125E5094F7482810D54D713F6EC@G3>
References: <20090422174516.2EB1928321BF@mail.pubhealth.ku.dk>
	<9C0B0125E5094F7482810D54D713F6EC@G3>
Message-ID: <63d616b0904230535m46ad18d2rebe33df6907b11e6@mail.gmail.com>

Thanks for the clear answer Stephen and thanks to all the guys that
pointed out my misunderstanding about the distinction between object
of type integer" and "integer-valued object".

I'm sorry for submitting to the R-bugs list something that is very
clear for all the members of the list, but it was not clear for me
after reading the help, because I was testing if a particular result
had a decimal part or not, and it seemed natural to me to use the
'is.integer' function instead of a combination of other operations.

Probably, and only if the guys of r-devel deem it necessary, it could
be good to add a small example at the end of the 'is.integer' function
showing that is.integer(1) is FALSE (or the example mentioned by
Martin), which can avoid this misunderstanding to people with less
knowledge about storage modes in R.

Thank you very much, and in the future I will use R-help or maybe R-devel.

Mauricio
-- 
Linux user  #454569 -- Ubuntu user #17469



[Rd] 'is.integer' (PR#13671)
Mauricio Zambrano