Something like this should work: foo <- read.table("text2read.txt", colClasses=c("character", "NULL", "NULL"))$V1 foo <- gsub("i[0-9]-", "", foo)
HTH, Andy ______________________________________________ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html