Skip to content
Back to formatted view

Raw Message

Message-ID: <4C1BDC89.50003@r-enthusiasts.com>
Date: 2010-06-18T20:52:25Z
From: Romain Francois
Subject: nchar( NA )

Hello,

Is this expected ?

 > nchar( c( "", NA ) )
[1] 0 2

Should not the second one be NA ?

Romain

-- 
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://bit.ly/98Uf7u : Rcpp 0.8.1
|- http://bit.ly/c6YnCi : graph gallery collage
`- http://bit.ly/bZ7ltC : inline 0.3.5