fromUTF8 | R Documentation |
Converts the encoding of some attributes of an object from UTF-8 into other encoding.
fromUTF8(x, to = "WINDOWS-1252")
x |
A R object, usually a variable of a data frame or a data frame. |
to |
A string indicating the desired encoding. Common values are
|
The function converts the attribute label
of x
from UTF-8 into the
specified encoding. If x
is a factor, the levels are converted as well.
If x
is a data.frame, the function makes the conversions in all of its
variables.
The object with its label and levels converted.
Jakson A. Aquino jalvesaq@gmail.com.
iconv
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.