View source: R/deepel_rstudioapi_2EN.R
deepel_rstudioapi_2EN | R Documentation |
Translate the selected text in RStudio into English using the DeepL API with auto-detection of the source language. This function uses free-version DeepL API (https://api-free.deepl.com/v2/translate).
deepel_rstudioapi_2EN()
Translate Selected Text to English via DeepL API
This function uses the rstudioapi to execute English translation of the selected text using the DeepL API. It will attempt to auto-detect the language of the text and translate it into English. First, select the text and execute "DeepL Translation into English" from addins. As a result, the selected part will be translated into English.
No value is returned.
Satoshi Kume
## Not run:
#Select the following text: "La selección está traducida al inglés."
#Then, execute "DeepL Translation into English" from RStudio addins.
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.