On 14-05-2012, at 12:07, Wincent wrote: > Emm, my bad. > I meant str <- "abc\d". > Any ideas?
gsub("\\\\", "", str) Berend ______________________________________________ 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.