File: tuple.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 (26 lines) | stat: -rw-r--r-- 774 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
23
24
25
26
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/python.R
\name{tuple}
\alias{tuple}
\title{Create Python tuple}
\usage{
tuple(..., convert = FALSE)
}
\arguments{
\item{...}{Values for tuple (or a single list to be converted to a tuple).}

\item{convert}{\code{TRUE} to automatically convert Python objects to their R
equivalent. If you pass \code{FALSE} you can do manual conversion using the
\code{\link[=py_to_r]{py_to_r()}} function.}
}
\value{
A Python tuple
}
\description{
Create a Python tuple object
}
\note{
The returned tuple will not automatically convert its elements from
Python to R. You can do manual conversion with the \code{\link[=py_to_r]{py_to_r()}} function or
pass \code{convert = TRUE} to request automatic conversion.
}