Transforms a python2 string literal or python3 bytes literal into an R string
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.
coerce_bytes_literals_to_string(x)
x |
string |
string
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.