similar to: accessing windows clipboard from load and save (PR#4999)

Displaying 20 results from an estimated 7000 matches similar to: "accessing windows clipboard from load and save (PR#4999)"

2003 Nov 05
1
save(iris,file=
I tried it using file and it seems to work for saving: > data(iris) > con <- file("clipboard","w") > save(iris,ascii=T,file=con) > close(con) > readLines("clipboard") ... lengthy output follows which seems correct ... but not for loading: > con <- file("clipboard","r") > load(con) Error in load(con) : loading from
2019 May 23
2
writing Unicode text to the Windows clipboard
Hello, I'm interested in moving text from and to the clipboard that cannot necessarily be represented in the native encoding. So, really, this is about Windows. I can successfully read from the clipboard by specifying the format that corresponds to unicode text. From R >=2.7.0, it seems you should also be able to write unicode text to the Windows clipboard.
2004 Nov 19
2
Clipboard under Linux/Unix
Hello, This may be a trivial question, but I don't find the answer in R online help. Under Windows, I can copy/paste to the clipboard using readClipboard()/writeClipboard(), or something like cat(..., file = "clipboard"). Are there equivalent function for other platforms? Best, Philippe Grosjean ..............................................<??}))><........ ) ) ) ) ) ( (
2003 Nov 05
1
save(iris,file="clipboard",ascii=TRUE)
Is this a bug? I thought that "clipboard" could always be substituted for a filename when dealing with ASCII files. > data(iris) > save(iris,ascii=TRUE,file="clipboard") Error in file(file, "wb") : `mode' for the clipboard must be `r' or `w' Also this (where gclip is a utility found at unxutils.sourceforge.net that copies its standard input to the
2011 Mar 08
1
Read data.frame from clipboard
Ein eingebundener Text mit undefiniertem Zeichensatz wurde abgetrennt. Name: nicht verf?gbar URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110308/5fcad543/attachment.pl>
2006 Mar 08
1
Clipboard connections (PR#8668)
Full_Name: Will Gray Version: R 2.2.1 OS: WinXP SP2 Submission from: (NULL) (160.129.18.69) I've been using R with a text editor (Tinn-R) and using a feature of the editor that sends code to a running R session. Sometimes it is convenient to use the command "source(file('clipboard'))" to send whole blocks of code. However, this quickly fills up the limit of 50
2019 May 24
0
writing Unicode text to the Windows clipboard
Hello, I'm interested in moving text from and to the clipboard that cannot necessarily be represented in the native encoding. So, really, this is about Windows. I can successfully read from the clipboard by specifying the format that corresponds to unicode text. From R >=2.7.0, it seems you should also be able to write unicode text to the Windows clipboard.
2011 Aug 12
3
gsub("\\", "\\\\", "C:\Program Files\R")
Hi, I think it is not possible in R but I rather ask before giving up: What I have: I have copied "C:\Program Files\R" into my clipboard. What I want: setwd(transform("C:\Program Files\R")) where the function transform should change the "C:\Program Files\R" from my clipboard to "C:\\Program Files\\R" so that R can handle it. Is this possible? I've
2006 May 04
1
a clipboard problem while using R2HTML
I followed the examples of previous posts about R2HTML to practice exporting a data to a clipboard, but the result is not as smooth as I had expected: library(R2HTML) data(iris) HTML(iris, file("clipboard","w"), append=FALSE) I got an error message: > HTML(iris, file("clipboard","w"), append=FALSE) Error in file("clipboard", "w")
2009 Sep 18
1
Reading clipboard with read.delim("clipboard") crash (PR#13957)
Full_Name: Liam Gretton Version: 2.9.2 OS: openSUSE 11.1 (x86_64) Submission from: (NULL) (143.210.13.77) Reading a large number of rows of delimited data via the clipboard results in a segfault or double free error. I've tested copying from various applications, but gedit will do. This problem exists in the openSUSE-supplied 2.8.1, I've just built 2.9.2 to see if it's still there,
2001 Dec 04
2
Agent Clipboard issues revisited
Howdy, It seems that there's a bit of a problem with Agent accessing the KDE Clipboard through Wine. (Or is it the X Clipboard?) If I start a managed wine Agent session and try to copy from Agent, the copied info shows up in the KDE Clipboard. If I try to paste highlighted text from the console into Agent, it works also. Once. The second (and subsequent tries) don't work. It
2006 Oct 29
2
write to clipboard under Linux
Dear all, I am trying to use the clipboard when writing a table. Typing: write.table(object, file="clipboard") leads to the message: Fehler in file(file, ifelse(append, "a", "w")) : 'mode' f?r die Zwischenablage muss unter Unix 'r' sein My interpretation is that I am not allowed to write into the clipboard from a program called from R. Is there a
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,
2007 Dec 03
1
Fwd: source('clipboard')
In the code below the first source command works fine, but the second does not, as can be seen from the error message. Is there a way to have the second command work? I am using R 2.6.1 on Windows Vista. (The command that is in the clipboard is just "x <- 3") > source("clipboard", echo = F) > source("clipboard", echo = T) Error in file(srcfile$filename,
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 17
2
win32-clipboard issues and support for additional formats
Hi, Currently the GetClipboardData() function is declared in windows-pr so that it returns a pointer. I guess my reasoning was that I was only worried about dealing with text at the time, so it was the easiest thing to do. But, I''d like to support more formats beyond text, i.e. images. However, this can cause a segfault. If you copy a jpeg image to the clipboard first, for example, and
2006 Aug 03
1
[ win32utils-Bugs-5287 ] v 0.4.1 - Clipboard.set_data causes Segmentation fault
Bugs item #5287, was opened at 2006-08-03 11:34 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=5287&group_id=85 Category: win32-clipboard Group: Code Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: v 0.4.1 - Clipboard.set_data causes Segmentation fault Initial Comment: Whenever
2007 Mar 19
1
Windows Clipboard and WINE
I have a book cataloging program that I have used for several years and I am extremely pleased with it. It's one of the main reasons I still use windows primarily. I'm looking at running it under WINE and I am having trouble with the registration of the license key. The license key is coped to the Windows clipboard and the the program reads it from the clipboard. When I try to
2000 Mar 23
1
clipboard
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
2000 Mar 23
4
Requery: R 1.0.0 for Win95 and clipboard
Noone answered so I guess this is not possible, but can anyone definitely put me out of my misery... 'I have just begun using R 1.0.0 for Win95. Can someone please tell me how to put a data frame on the clipboard, and how to read data into a data frame from the clipboard.' Is this something that's planned? The clipboard seems pretty fundamental to Windows (and other OS?). Thanks