Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
english_t <- c()
for (i in article) {
element <- translate(i, from = "ru", to = "en")
english_t <- c(english_t, element)
unlisted_result <- unlist(english_t, use.names=FALSE)
write(unlisted_result, "en_translated_article.txt")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment