| translate | R Documentation |
Translate text between languages
translate(text, from = "en", to, ...)
text |
A character string containing a text |
from |
A two-letter language code specifying the language of the source text. |
to |
two-letter language code specifying the language to translate in to. |
... |
Additional arguments passed to |
A character string containing the translation.
## Not run:
translate("hello world!", to = "fr")
## End(Not run)