The ls() function return the names of the objects not the objects. So if you have :
a <- c(1,2,3) b <- c('A','B','C') ls() will return : "a" "b" which only 2 letters. ----- Christophe Poulet GIGA-Research. Human Genetics Dept. Liège, Belgium. -- View this message in context: http://r.789695.n4.nabble.com/Calculate-the-latest-Z-score-of-all-zoo-time-series-tp3695820p3695916.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.