我正在努力将 *.xls 文件读入 R:
我做了以下事情:
我将工作目录设置为 *.xls 文件,然后:
> library(gdata) # load the gdata package
> mydata = read.xls("comprice.xls", sheet=1, verbose=FALSE)
Mistake in findPerl(verbose = verbose) : perl executable not found. Use perl= argument to specify the correct path. mistake in file.exists(tfn) : unknown 'file' argument
但是,我的路径是正确的,并且有文件!怎么了?
更新
我已经安装了它,但是现在我得到:异常:找不到函数“read.xls”...