gsub() in R is not replacing '.' (dot) gsub() in R is not replacing '.' (dot) r r