Re: [R] Easy cut & paste from Excel to R

From: <stefan.albrecht_at_allianz.com>
Date: Fri 30 Sep 2005 - 20:28:20 EST


Maybe this helps, too.

readExcel <- function(row.names = 1, check.names = FALSE, ...)   read.delim("clipboard", row.names = row.names, check.names = check.names, ...)

writeExcel <- function(x, check.rows = FALSE, check.names = FALSE, ...){   df <- data.frame(x, check.rows = check.rows, check.names = check.names)   write.table(df, "clipboard", sep = "\t", col.names = NA, ...) }

Best regards,
Stefan



Dr. Stefan Albrecht, CFA
Allianz Private Equity Partners GmbH
Giselastraße 4
D-80802 Munich, Germany
Phone: +49.89.38 00 - 18 317
Fax: +49.89.38 00 - 818 317
stefan.albrecht@allianz.com
www.apep.com

        [[alternative HTML version deleted]]



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Sep 30 20:36:26 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 18:04:50 EST