安装Apache SparkR包时出错

Gan*_*hat 6 r apache-spark r-package

我在安装apache sparkr包时遇到以下错误:

install_github("amplab-extras/SparkR-pkg", subdir="pkg")
Downloading github repo amplab-extras/SparkR-pkg@master
Installing SparkR
Error in isNamespaceLoaded(pkg) : 
 attempt to use zero-length variable name
Run Code Online (Sandbox Code Playgroud)

Chr*_*isP 1

我对这个包也遇到了同样的问题pander,并解决了一个冗长的解决方案。我pander从 Github 安装了 R 的早期版本(3.1.2 对我有用)。然后,我将该包复制\library\pander到新的 R v3.2.0 安装中。到目前为止,它似乎运行良好。

我已经尝试为该sparkr包执行此操作,但不幸的是它需要更新的 R 版本。您可能会发现 R v3.1.3 可以工作,但我无法在我的计算机上进行测试。