Hello,

Maybe with

c1 = strsplit(i, split = '\\.', fixed = T)[[1]]

instead of split = '.'

The dot is a metacharacter that matches any character so it has to be escaped.

Hope this helps,

Rui Barradas

Às 16:11 de 25/06/19, Spencer Brackett escreveu:
c1 = strsplit(i,split ='.', fixed = T)[[1]]

______________________________________________
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.

Reply via email to