In normal operation mode (non-binary ascii mode) write.serialConnection
respects the translation and adds the end-of-line characters (\n;\r) according
to the settings. Any input is converted to character, i.e. c(1,2,3)
becomes
'123'
and so on.
In binary mode no end-of-line characters are added. The input argument
must be of type raw
or string
. If dat
is numeric
(vector) it is converted to raw
.