xlsxパッケージによりExcel2007ファイル(xlsxファイル)の読み書きが可能です。
xlsxファイルはxmlをzip圧縮したものらしい。
read.xlsx package:xlsx R Documentation
Read the contents of a worksheet into an R data.frame
Description:
Read the contents of a worksheet into an R 'data.frame'.
Usage:
read.xlsx(file, sheetIndex, sheetName=NULL, rowIndex=NULL,
colIndex=NULL, as.data.frame=TRUE, header=TRUE, colClasses=NA,
keepFormulas=FALSE, encoding="unknown", ...)
write.xlsx package:xlsx R Documentation
Write a data.frame to an Excel workbook.
Description:
Write a 'data.frame' to an Excel workbook.
Usage:
write.xlsx(x, file, sheetName="Sheet1",
col.names=TRUE, row.names=TRUE, append=FALSE)