Skip to content
Prev 8864 / 15075 Next

reading from clipboard error

Mark Cowley <m.cowley <at> garvan.org.au> writes:
readLines(pipe("pbpaste"))
he last line is silently skipped. Note
waning, thus I think it doesn't even see the final line.
new line, copy to clipboard, then
so a hack could fix this.
It looks like it is documented depending on the blocking 
behavior of your connection.
"If the final line is incomplete (no final EOL marker) the behaviour 
depends on whether the connection is blocking or not. 
For a non-blocking text-mode connection the incomplete
 line is pushed back, silently. For all other connections the 
line will be accepted, with a warning.


Whatever mode the connection is opened in, any of LF, CRLF 
or CR will be accepted as the EOL marker for a line."
and a selection in Excel /never/ adds the
your selection.