Description Usage Arguments Value Examples
View source: R/translate_view.R
When you pass in a vector consisting of an English or Chinese words, this function will Open Youdao website browse translation results.
1 |
x |
A vector made up of English or Chinese words |
Not print any result but open a website
1 2 3 4 5 6 | # Example-1
translate_view("apple")
# Example-2
x <- c("apple", "banana", "pear", "I love you")
translate_view(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.