print-methods: Print methods

Description Usage Arguments Examples

Description

Print methods for objects generated by the transdoc package. Google Translate translates the input documents.

Usage

1
2
## S3 method for class 'transdoc_help'
print(x, to = "default", ...)

Arguments

x

an object used to select a method.

to

doc is translated to the language specified to to (e.g., "en", "ja", "de"). The default value, "default", is equivalent to getOption("transdoc_to", "en"). For %to%, the non-standard evaluation takes place for to.

...

Arguments passed to the methods.

Examples

1
2
3
4
5
6
## Not run: 
print(translate("This text will be translated to Japanese", "ja"))
print(translate("https://transdoc.atusy.net/", "ja"))
print(translate(?base::c, "ja"))

## End(Not run)

atusy/transdoc documentation built on May 17, 2020, 4:38 p.m.