mstring1 <- c("123456789012345678901234567890123456789012345678901234567890 123456789012345678901234567890123456789012345678901234567890")
mstring2 <- c("123456789012345678901234567890123456789012345678901234567890 1234567890123456789012345678901234567890123456789012345678901234567890") vec.in <- c(mstring1,mstring2) res1 <- select.list(vec.in, graphics = TRUE) res2 <- select.list(vec.in, graphics = FALSE) nchar(res1) nchar(res2) platform x86_64-w64-mingw32 arch x86_64 os mingw32 system x86_64, mingw32 status major 3 minor 5.0 year 2018 month 04 day 23 svn rev 74626 language R version.string R version 3.5.0 (2018-04-23) nickname Joy in Playing [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.