При условии, что ваши входные данные хранятся как input.txt
# Read data into R
input <- read.delim('input.txt', header = FALSE, stringsAsFactors = FALSE)[,1]
# Split each element into single characters and combine
output <- unlist(strsplit(x = input, split = ''))
# Export data
write.table(x = output, file = 'output.csv', sep = ',', col.names = FALSE)