Input and output raw connections.
1 2 3
character or raw vector. A description of the connection. For an input this is an R raw vector object, and for an output connection the name for the connection.
character. Any of the standard connection open modes.
An output raw connection.
An input raw connection is opened and the raw vector is copied
at the time the connection object is created, and
destroys the copy.
An output raw connection is opened and creates an R raw vector
internally. The raw vector can be retrieved via
If a connection is open for both input and output the initial raw vector supplied is copied when the connections is open
rawConnection, a connection object of class
"rawConnection" which inherits from class
rawConnectionValue, a raw vector.
As output raw connections keep the internal raw vector up to date
call-by-call, they are relatively expensive to use (although
over-allocation is used), and it may be better to use an anonymous
file() connection to collect output.
On (rare) platforms where
vsnprintf does not return the needed length
of output there is a 100,000 character limit on the length of line for
output connections: longer lines will be truncated with a warning.
1 2 3 4 5 6 7 8
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.