Convert Python bytes to an R character vector
Convert Python bytes to an R character vector
## S3 method for class 'python.builtin.bytes' as.character(x, encoding = "utf-8", errors = "strict", ...)
x |
object to be coerced or tested. |
encoding |
Encoding to use for conversion (defaults to utf-8) |
errors |
Policy for handling conversion errors. Default is 'strict' which raises an error. Other possible values are 'ignore' and 'replace' |
... |
further arguments passed to or from other methods. |
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.