as.character.python.builtin.bytes {reticulate}R Documentation

Convert Python bytes to an R character vector

Description

Convert Python bytes to an R character vector

Usage

## S3 method for class 'python.builtin.bytes'
as.character(x, encoding = "utf-8", errors = "strict", ...)

Arguments

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.


[Package reticulate version 1.38.0 Index]