When you pass in a vector consisting of an English or Chinese words, this function will Open Youdao website browse translation results.

translate_view(x)

Arguments

x

A vector made up of English or Chinese words

Value

Not print any result but open a website

Examples


# Example-1
translate_view("apple")

# Example-2
x <- c("apple", "banana", "pear", "I love you")
translate_view(x)