score:2

if you are using apache toree (which provides the spark, pyspark, sparkr, and sparksql kernels) in emr you can do the following:

%adddeps "org.vegas-viz" %% "vegas" % {vegas-version} --transitive

an it will start to download the jars and you will be able to use vegas in your notebook

score:2

you can configure scala dependencies within the notebook as,

%%configure -f
{
"conf": {"spark.jars.packages": "//maven coordinates of vegas package"}
}

Related Query

More Query from same tag