search for: pbcopy

Displaying 7 results from an estimated 7 matches for "pbcopy".

Did you mean: bcopy
2024 Feb 17
1
certain pipe() use cases not working in r-devel
...with cat doesn't work on Windows, so I don't have > > any useful observations for that OS. > > > > You might say this is a weird example or use case. The actual usage > where I > > discovered 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...
2024 Feb 14
2
certain pipe() use cases not working in r-devel
...ees the same results on linux. This particular example with cat doesn't work on Windows, so I don't have any useful observations for that OS. You might say this is a weird example or use case. The actual usage where I discovered 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 clip...
2009 Jun 12
1
Programmatically copying a graphic to the clipboard
Hi all, Is there a cross-platform way to do this? On the mac, I cando this by saving an eps file, and then using pbcopy. Is it possible on other platforms? Hadley -- http://had.co.nz/
2005 Feb 16
7
Easy cut & paste from Excel to R?
Hi! Is it possible to easily cut & paste data from an Excel spreadsheet to an R edit( ) grid or to variable? It seems that R cannot handle the cell delimiters Excel hands over. Regards, Werner
2009 Jan 29
1
Importing data from clipboard on Mac OSX
Hello R-Help, I noticed that there is a thread about importing data from the clipboard that is very poorly answered in the forum. One user suggests giving up, the other gives a solution that echoes the clipboard, but that's exactly the same as just ctrl-p. As I am asked this question at least once a week in my very small home institution, I'm sure many people want to know. If you could
2006 Aug 26
2
Importing data from clipboard on Mac OSX
Dear R users, I am trying to get data from the clipboard into R on MacOSX. I tried the following, but got an error message: read.delim("clipboard") Error in file(file, "r") : unable to open connection In addition: Warning message: unable to contact X11 display Obviously, I'm not running R using X11. I'm wondering, can I import data from the clipboard on MacosX?
2009 Apr 28
2
problems with clipboard
Hi I'm a mac user. I have problems loading data from mac excel in R. I'm using these script: >library(utils) >data2 <- read.table(file("clipboard"), header =T, sep ="\t") ____but this is the message that I have from R_____ Error in open.connection(file, "r") : cannot open the connection In addition: Warning message: In open.connection(file,