Hi, if we do something like that for windows (which might be useful) we should do the same for X, i.e., use the X clipboard in the same way. Not that I know how to access it but it shouldn't be too hard to find out. Both would probably come down to having something like read.table(text=foo, ...) along with foo <- getClipboard(...) reading a text string from the X or Windows clipboard (assuming that what you get from the windows clipboard is a string). .f -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Friedrich Leisch <Friedrich.Leisch@ci.tuwien.ac.at> writes:> if we do something like that for windows (which might be useful) we > should do the same for X, i.e., use the X clipboard in the same way. > > Not that I know how to access it but it shouldn't be too hard to find > out. Both would probably come down to having something like > > read.table(text=foo, ...) > > along with > > foo <- getClipboard(...) > > reading a text string from the X or Windows clipboard (assuming that > what you get from the windows clipboard is a string).Wouldn't that require some sort of coordination with a similar feature in e.g. gnumeric? If all we can do with the clipboard is to stick its content into a text file, we might as well do so directly... -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Reasonably Related Threads
- a clipboard problem while using R2HTML
- Requery: R 1.0.0 for Win95 and clipboard
- Handling the windows clipboard/32KB limit
- automatic "paste" filter to paste only the commands from a transcript on the clipboard
- accessing windows clipboard from load and save (PR#4999)