Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/hibernate/5.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 以正确的方式加载文件_R - Fatal编程技术网

R 以正确的方式加载文件

R 以正确的方式加载文件,r,R,我不熟悉R的使用。我尝试处理.xls文件,数据的格式如下: num day 1 2011-1-1 00:00:01 2 2011-1-2 00:00:02 3 2011-1-3 00:00:03 我尝试加载文件: example <- read.xls(/path/exam.xls) 试一试 Error in findPerl(verb

我不熟悉R的使用。我尝试处理.xls文件,数据的格式如下:

num                         day
 1                 2011-1-1 00:00:01
 2                 2011-1-2 00:00:02
 3                 2011-1-3 00:00:03
我尝试加载文件:

 example <- read.xls(/path/exam.xls)
试一试

Error in findPerl(verbose = verbose) : 
  perl executable not found. Use perl= argument to specify the correct path.
Error in file.exists(tfn) : invalid 'file' argument
library(xlsx)

read.xlsx("/path/exam.xls",1)