*Excel2007ファイルの読み書き [#cf60b79d]

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)

*参考リンク [#bb51e616]
-[[Quickly export multiple R objects to an Excel Workbook:http://statmethods.wordpress.com/2014/06/19/quickly-export-multiple-r-objects-to-an-excel-workbook/]]
-[[Writing from R to Excel with xlsx:http://www.r-bloggers.com/writing-from-r-to-excel-with-xlsx/]]
-[[奥村晴彦先生の解説ページ:http://oku.edu.mie-u.ac.jp/~okumura/stat/exceldata.html]] 情報豊富!!
-[[Read Excel files from R:http://www.milanor.net/blog/?p=779]] CSV,クリップボード, ODBC, gdata , xlsReadWrite, XLConnect, xlsx, 作者自作関数の例
-[[EXTRACTING DATASETS FROM EXCEL FILES IN A ZIPPED FOLDER:http://freakonometrics.hypotheses.org/17679]]


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS