[R] a clipboard problem while using R2HTML
Frank Liu
ashan at ku.edu
Thu May 4 07:28:42 CEST 2006
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") : 'mode' for the clipboard must be 'r'
on Unix
I changed w to r, but there seems a clipboard problem:
> HTML(iris, file("clipboard","r"), append=FALSE)
Error: clipboard connection is open for reading only
The only setting about the clipboard is in my .emacs is:
'(x-select-enable-clipboard t))
Thank you in advance for any hint.
I am using Linux Fedora 4. Kernel 2.6.15-1.1833_1.
R version 2.3.0, ESS 5.3.0.
-Frank
More information about the R-help
mailing list