I would like to convert some numbers to words (so 5 becomes "five" etc). I am using english library to create a vector of integers that have been transformed into words. However, when I try to access some elements of my vector (elements after 100), I receive the following error:
Error in UK && (d <- makeNumber(dvec)) > 0 : invalid 'x' type in 'x && y'
Here is my code:
library(english)
words <- as.english(c(1:1000))
words[999]
The aim is to access any element of a vector words.