问题
I'm studying about sparkR, and I know there are so many useful R package in CRAN. But it seems like R package can't be used in sparkR. I'm not sure about that.
Is it true??? If it's not, could you explain how import R package into sparkR?
回答1:
I'm guessing that you may be referring to the includePackage
command:
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.
Source: R frontend for Spark
来源:https://stackoverflow.com/questions/36474292/is-it-possible-to-use-r-package-in-sparkr