Dear R,

the condition: 

identical(length(x),1) returns FALSE 

but

print(length(x))

returns 1 and:

is.vector(x) is TRUE.
is.integer(length(x)) is TRUE
length(x) ==1 is TRUE

I am puzzled.

Regards
-- 
Corrado Topi

Global Climate Change & Biodiversity Indicators
Area 18,Department of Biology
University of York, York, YO10 5YW, UK
Phone: + 44 (0) 1904 328645, E-mail: ct...@york.ac.uk

______________________________________________
R-help@r-project.org mailing list
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.

Reply via email to