vs_connect {variantspark}R Documentation

Creating a variantspark connection

Description

You need to create a variantspark connection to use this extension. To do this, you pass as argument a spark connection that you can create using sparklyr::spark_connect().

Usage

vs_connect(sc)

Arguments

sc

A spark connection.

Value

A variantspark connection

Examples

library(sparklyr)
sc <- spark_connect(master = "spark://HOST:PORT")
connection_is_open(sc)
vsc <- vs_connect(sc)
spark_disconnect(sc)


[Package variantspark version 0.1.1 Index]