File: py_unicode.Rd

package info (click to toggle)
r-cran-reticulate 1.41.0.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,088 kB
  • sloc: cpp: 5,154; python: 620; sh: 13; makefile: 2
file content (22 lines) | stat: -rw-r--r-- 658 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/python.R
\name{py_unicode}
\alias{py_unicode}
\title{Convert to Python Unicode Object}
\usage{
py_unicode(str)
}
\arguments{
\item{str}{Single element character vector to convert}
}
\description{
Convert to Python Unicode Object
}
\details{
By default R character vectors are converted to Python strings.
In Python 3 these values are unicode objects however in Python 2
they are 8-bit string objects. This function enables you to
obtain a Python unicode object from an R character vector
when running under Python 2 (under Python 3 a standard Python
string object is returned).
}