giocon {RGtk2}R Documentation

R connections for GIO streams

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

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


[Package RGtk2 version 2.20.40 Index]