search for: pb_write

Displaying 2 results from an estimated 2 matches for "pb_write".

Did you mean: xb_write
2024 Feb 17
1
certain pipe() use cases not working in r-devel
...ng > > pbcopy/pbpaste (and, in very similar ways, on linux using xsel or xclip). > > This is mentioned in the "Clipboard" section of the connections help > topic. > > > > In 4.3.2 on macOS, I can successfully roundtrip with the clipboard: > > > >> pb_write <- pipe("pbcopy") > >> writeChar("hello clipboard!", pb_write, eos = NULL) > >> pb_read <- pipe("pbpaste") > >> readChar(pb_read, 16) > > [1] "hello clipboard!" > > > > In r-devel, it appears that the write o...
2024 Feb 14
2
certain pipe() use cases not working in r-devel
...ed this is the way folks read/write the clipboard on macOS using pbcopy/pbpaste (and, in very similar ways, on linux using xsel or xclip). This is mentioned in the "Clipboard" section of the connections help topic. In 4.3.2 on macOS, I can successfully roundtrip with the clipboard: > pb_write <- pipe("pbcopy") > writeChar("hello clipboard!", pb_write, eos = NULL) > pb_read <- pipe("pbpaste") > readChar(pb_read, 16) [1] "hello clipboard!" In r-devel, it appears that the write operation silently does nothing: > pb_write <- pip...