尝试从Github

时间:2015-05-29 17:49:39

标签: r csv ssl github

我正在尝试使用包import中的rio函数从Github读取一些csv文件到R中,但是会收到一个错误,显示在下面。

Error in fread(input = file, sep = sep, sep2 = "auto", header = header,  : 
  The supplied 'sep' was not found on line 1. To read the file as a single character column set sep='\n'.

我使用的代码是

import("https://raw.github.com/smbilal/SCC413/blob/master/HP.csv")

使用上面的URL可以看到该文件,它是一个逗号分隔的文件,但似乎无法弄清楚是什么问题。我尝试过其他方法,比如“getURL”,但最终也会引发SSL错误,描述如下。

Error in function (type, msg, asError = TRUE)  : 
  SSL certificate problem: unable to get local issuer certificate

SSL是否仍然存在问题我似乎无法使用“导入”读取文件或者我犯了其他错误?

0 个答案:

没有答案