Install Sparklyr on Ubuntu

Опубликовано: 04 Март 2026
на канале: Melvin L
2,009
11

Install Sparklyr on Ubuntu - steps to install and run Sparklyr
--------------------------
Sparklyr is an R interface to Apache Spark, a fast and general engine for big data processing,

For the install assuming R is already Installed on the server (refer to my other videos on how to install R on Ubuntu)

Install Java - required when working with Spark
sudo apt-get install --assume-yes python-software-properties debconf-utils
sudo add-apt-repository -y ppa:webupd8team/java
sudo apt-get update
echo "oracle-java8-installer shared/accepted-oracle-license-v1-1 select true" | sudo debconf-set-selections
sudo apt-get install --assume-yes oracle-java8-installer

Install Sparklyr
sudo apt-get --assume-yes install libxml2-dev
sudo apt-get --assume-yes install libcurl4-openssl-dev libssl-dev
sudo R -e 'install.packages(c("sparklyr"), repos="http://cran.rstudio.com/")'