是否可以在 sparkR 中使用 R 包?
Is it possible to use R package in sparkR?
我正在研究sparkR,我知道CRAN中有很多有用的R包。但似乎 R 包不能在 sparkR 中使用。对此我不确定。
是真的吗???如果不是,您能否解释一下如何将 R 包导入 sparkR?
我猜测您可能指的是includePackage
命令:
SparkR also allows easy use of existing R packages inside closures.
The includePackage
command can be used to indicate packages that
should be loaded before every closure is executed on the cluster.
我正在研究sparkR,我知道CRAN中有很多有用的R包。但似乎 R 包不能在 sparkR 中使用。对此我不确定。
是真的吗???如果不是,您能否解释一下如何将 R 包导入 sparkR?
我猜测您可能指的是includePackage
命令:
SparkR also allows easy use of existing R packages inside closures. The
includePackage
command can be used to indicate packages that should be loaded before every closure is executed on the cluster.