py_capture_output: Capture and return Python output

View source: R/python.R

py_capture_outputR Documentation

Capture and return Python output

Description

Capture and return Python output

Usage

py_capture_output(expr, type = c("stdout", "stderr"))

Arguments

expr

Expression to capture stdout for

type

Streams to capture (defaults to both stdout and stderr)

Value

Character vector with output


rstudio/reticulate documentation built on Nov. 18, 2024, 12:03 p.m.