From vdergachev at rcgardis.com  Wed May 23 19:18:37 2007
From: vdergachev at rcgardis.com (Vladimir Dergachev)
Date: Wed, 23 May 2007 13:18:37 -0400
Subject: [Rd] is.finite confusion
Message-ID: <200705231318.37662.vdergachev@rcgardis.com>


    I have recently made a silly screwup by applying is.finite() to a 
character vector:

>  is.finite(c("a", "b"))
[1] FALSE FALSE

This does work with factors of course (as they are integer underneath)

I wonder if a fix could be put in so that it either reports an error when 
applied to a character vector - or, perhaps better, act as is.na()

                      thank you

                               Vladimir Dergachev
PS test on R 2.5.0, 2.3.1



[Rd] is.finite confusion
Vladimir Dergachev