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"}
}
Source: stackoverflow.com
Related Query
- Install other scala libraries on EMR notebook
- Running scalatest and Maven with two scala libraries - one for Maven, the other for Scala Eclipse plugin
- EMR Notebook Scala kernel import graphframes library
- How to install scala libraries in HDP (Hortonworks Data Platform)
- How to install sbt package for Jupyter notebook with Scala kernel?
- Developing a multi-file Scala package in Spark EMR notebook
- How to use third party libraries with Scala REPL?
- Scala pattern matching on sequences other than Lists
- Does Scala scale better than other JVM languages?
- Why are List and String identifiers named "xs" (in Scala and other languages)?
- In scala can I pass repeated parameters to other methods?
- How to add Jar libraries to an IntelliJ Idea SBT Scala project?
- Using Java libraries in Scala
- How to install an older version of scala
- Making sense of Scala FP Libraries
- Scala 2.10, its impact on JSON libraries and case class validation/creation
- Is there anything like rubygems.org for scala libraries
- How do I install Scala in Jupyter IPython Notebook?
- How to install Scala plugin for IntelliJ
- How to install Scala plugin manually?
- Actor-based distributed concurrency libraries for Ocaml and other languages
- How is scala generating byte code? Using some libraries like ASM, or write binary directly?
- Homebrew errors in Mac OS Mavericks when trying to install scala
- What are good scala libraries to generate RSS feeds?
- Best practices with Akka in Scala and third-party Java libraries
- Can a Scala script reference other uncompiled scala code in the same directory?
- Round-up of Scalaz type class instances for other libraries
- Datatype-generic programming libraries for Scala
- Understanding GenericTraversableTemplate and other Scala collection internals
- Problems Importing Scala Libraries In Intellij
More Query from same tag
- How to align a dataframe column header when writing csv file in Spark?
- Implement tail-recursive List operations
- Scala NoClassDefFoundError related to Swing
- Spark with temp AWS credentials: java.lang.NoClassDefFoundError: org/apache/hadoop/fs/StorageStatistics
- Implicit val from context case class
- VIM and Scala -- indentation problems?
- How can I choose which duplicate rows to be dropped?
- How to aggregate on two columns in Spark SQL
- How to write a value from the response to a file in Gatling?
- Unable to access to object in a sub-package
- How to flatten a list in spark rdd?
- How to check if Scala Spray Bind actually binds to port
- Cleanest way in Scala to avoid nested ifs when transforming collections and checking for error conditions in each step
- Relate children to parent using Mongo aggregate query
- How to turn on Logging in Akka for Scala?
- How to write eclipse rcp applications with scala?
- Writing JSON output with array of objects using Spark
- How does generics work in scala REPL?
- How to create an Object in my sbt build so I can use in my application?
- Play Framework 2.1 upgrade, now having to cast everything for views?
- MockMvc and streaming endpoints - additional bytes after stream close
- JSON web tokens(JWT) implementation in Finagle stack
- How to compile/eval a Scala expression at runtime?
- Scala Spark / Shark: How to access existing Hive tables in Hortonworks?
- Can http4s do different status codes given a Future?
- How to return Kth smallest/largest element from an array using quicksort's pivot?
- Writing custom metrics to InfluxDB with Graphite
- copy contents of immutable map to new mutable map
- Compilation error using scala classes in java maven project
- How do I use pattern matching with parametrized traits?