I'm trying to install SparkR
library(devtools)
install_github("amplab-extras/SparkR-pkg", subdir="pkg")
but then I find this error
Launching sbt from sbt/sbt-launch-0.13.6.jar Invalid or corrupt jarfile sbt/sbt-launch-0.13.6.jar make: *** [target/scala-2.10/sparkr-assembly-0.1.jar] Error 1 ERROR: compilation failed for package ‘SparkR’ * removing ‘/Users/apple/Library/R/3.2/library/SparkR’ Error: Command failed (1)
Read before proceeding:
amplab-extras/SparkR-pkg is no longer maintained. Current versions of SparkR are shipped with Spark itself. See also Installing of SparkR
Sbt download links in the repository are invalid and what you get is actually a HTML file. You can either correct URL2 in pkg/src/sbt/sbt so it points to:
http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt-launch/0.13.6/sbt-launch.jar
or download and install sbt, clone the repository:
git clone https://github.com/amplab-extras/SparkR-pkg.git
go to src:
cd SparkR-pkg/pkg/src
assembly:
sbt assembly
and install:
R -e "devtools::install('.')"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With