R: Transforms a python2 string literal or python3 bytes literal...

coerce_bytes_literals_to_string {botor} | R Documentation

## Transforms a python2 string literal or python3 bytes literal into an R string

### Description

This is useful to call eg for the KMS call, where python2 returns a string, but python3 returns bytes literals – calling "decode" is tricky, but bytearray conversion, then passing the raw vector to R and converting that a string works.

### Usage

    coerce_bytes_literals_to_string(x)

### Arguments

`x` | string

### Value

string

[Package botor version 0.3.0 Index]