reading xls file in r code example
Example 1: read xlsx in r
require(xlsx)
read.xlsx("myfile.xlsx", sheetName = "Sheet1")
read.xlsx2("myfile.xlsx", sheetName = "Sheet1")
Example 2: open xlsx with r
my_data <- read.table(file = "clipboard",
sep = "\t", header=TRUE)