[R] Transporting data in different R windows

Bos, Roger roger.bos at rothschild.com
Wed Jul 29 17:27:09 CEST 2009


I wrote simple function to copy data from/to excel using the clipboard.
These should also work from one window to the next:

# To read from clipboard
"fromExcel" <- function() {read.table("clipboard-128", header=TRUE,
sep="\t")}
"toExcel" <- function(x) {write.table(x, "clipboard-128", sep="\t",
row.names=FALSE)} 

-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]
On Behalf Of Bogaso
Sent: Wednesday, July 29, 2009 9:16 AM
To: r-help at r-project.org
Subject: [R] Transporting data in different R windows


Hi,

I am working with multiple R-windows opened and would like to transport
some variables from one to another. Is there any direct way to do this
without saving them in hard-disk?

Thanks
--
View this message in context:
http://www.nabble.com/Transporting-data-in-different-R-windows-tp2471907
7p24719077.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
***************************************************************

This message is for the named person's use only. It may\...{{dropped:20}}




More information about the R-help mailing list