Corrado writes: > I do not understand what more information! Take any vector of length 1, for > example x<-1. Plus all the command that where in my previous email .... > > What is the logic behind > > identical(length(x),1) > > being false?
identical() returns FALSE because they are not identical, even if they are the same value. length() returns an integer type, while 1 is type double. If you want them to be identical, use this: identical(length(x),as.integer(1)) cur -- Curt Seeliger, Data Ranger Raytheon Information Services - Contractor to ORD seeliger.c...@epa.gov 541/754-4638 [[alternative HTML version deleted]] ______________________________________________ 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.