Sparklyr - Connection (Context)
About
How to connect to R with Sparklyr.
Articles Related
Method
Connect
Connect and get a context by giving a master connection URL
Local
sc <- sparklyr::spark_connect(master = "local")
Livy
config <- sparklyr::livy_config(user = "admin", password = "pwd")
sc <- sparklyr::spark_connect(master = "masternode:8998",method = "livy",config = config)
Disconnect
sparklyr::spark_disconnect(sc)
Documentation / Reference
- See connections for configuration