Read an Excel file directly from a R script

后端 未结 12 941
误落风尘
误落风尘 2020-11-22 13:52

How can I read an Excel file directly into R? Or should I first export the data to a text- or CSV file and import that file into R?

12条回答
  •  北荒
    北荒 (楼主)
    2020-11-22 14:22

    Just gave the package openxlsx a try today. It worked really well (and fast).

    http://cran.r-project.org/web/packages/openxlsx/index.html

提交回复
热议问题