Learn R Programming

serial (version 3.0)

flush.serialConnection: Flushes the connection.

Description

Some times (and depending on buffering mode) the connection buffer needs to be flushed manually. This command empties the buffer by sending all remaining bytes.

Usage

# S3 method for serialConnection
flush(con)

Arguments

con

serial connection

Value

Nothing is returned

See Also

serial

Examples

Run this code
# NOT RUN {
 # See the top package documentation
# }

Run the code above in your browser using DataLab