1) strapply strapply \\d+, as.numeric , . sum . .
library(gsubfn)
sapply(strapply(numbers, "\\d+", as.numeric), sum)
2) read.table . ( ), .
sapply(numbers, function(x) sum(read.table(text = x, sep = "/")))
## 1/1/1 1/0/2 1/1/1/1 2/0/1/1 1/2/1
## 3 3 4 4 4
USE.NAMES = FALSE sapply, .
scan(textConnection(x), sep = "/", quiet = TRUE) read.table, .