I want to analyze xlsx files generated by a qPCR apparatus with R but I can't open these files unless I save them in excel before loading them in R.
I am using the command read.xlsx() from openxlsx package:
library(openxlsx)
my_file <- "~/my_file.xlsx"
read.xlsx(my_file,1)
I get this message:
Error in read.xlsx.default(my_file, sheet = "0", skipEmptyCols = TRUE) :
Workbook has no worksheets
The only way this works is if I save the xlsx file first in excel, is there a way to bypass this step?