giocon: R connections for GIO streams

Description Usage Arguments Value Author(s)

View source: R/connections.R

Description

Creates a regular R connection based on a GIO stream. The integration happens directly in C. The connection can be used anywhere connections are supported. See the httpd demo for examples.

Usage

1
giocon(stream, binary = FALSE, blocking = TRUE)

Arguments

stream

The GIO endpoint, such as a GInputStream, GOutputStream or GIOStream.

binary

Whether the data are binary or character.

blocking

Whether the connection should block when reading and writing.

Value

An R connection

Author(s)

Michael Lawrence


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.

Related to giocon in RGtk2...