Learn R Programming

ecce (version 3.0.3)

translate_view: Open a Youdao website browse translation results

Description

When you pass in an English or Chinese sentence, this function will Open Youdao website browse translation results.

Usage

translate_view(input, from = "auto", to = "auto")

Value

Just open a website and do not return any results.

Arguments

input

An English or Chinese sentence.

from

The source language, an optional parameter.

to

The target language, an optional parameter.

Examples

Run this code
if (FALSE) {
  translate_view("I like China")
  translate_view("quarto", from = "en", to = "zh-CHS")
}

Run the code above in your browser using DataLab