Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/r/64.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在R上使用read.xlsx产生错误_R_R Xlsx - Fatal编程技术网

在R上使用read.xlsx产生错误

在R上使用read.xlsx产生错误,r,r-xlsx,R,R Xlsx,我试图在R中运行一行代码,其中read.xlsx取自xlsx包。 它过去工作得很好,但有些东西已经改变了,但我不确定是什么 df_sheet <- xlsx::read.xlsx(lane_info, sheetIndex = 1, startRow=5 ,colIndex = 1:8,as.data.frame=TRUE, header=TRUE,stringsAsFactors=FALSE) # read first sheet 它与openxlsx::read.xlsx一起工作吗

我试图在R中运行一行代码,其中read.xlsx取自xlsx包。 它过去工作得很好,但有些东西已经改变了,但我不确定是什么

 df_sheet <- xlsx::read.xlsx(lane_info, sheetIndex = 1, startRow=5 ,colIndex = 1:8,as.data.frame=TRUE, header=TRUE,stringsAsFactors=FALSE) # read first sheet

它与openxlsx::read.xlsx一起工作吗?openxlsx::read.xlsx似乎可以工作。。。有没有办法使用xlsx?
> Error in .jcall(cell, "I", "getCellType") :    method getCellType with
> signature ()I not found