inst/rstudio/connections/Livy.R

library(sparklyr)
sc <- spark_connect(master = "${1:Livy URL=http$colon$//server/livy/}",
                    version = "${2:Version=2.4.0}",
                    method = "livy", config = livy_config(
                      username = "${3:User}",
                      password = rstudioapi::askForPassword("Livy password:")))

Try the sparklyr package in your browser

Any scripts or data that you put into this service are public.

sparklyr documentation built on Jan. 8, 2022, 5:06 p.m.