I am starting using scala
and I am interested in using the scalala
package for doing linear algebra computations. I successfully installed it through sbt
but I can't (or better don't know how) start the scalala console
. Can anyone point out the steps I have to take to make that possible?
Thanks a lot
P.S. I have read this quickstart guide but didn't help me.
[EDIT]
To be more clear I do not want to explicitly make includes with the standard scala
console in order scalala
to work.
UPDATE:
If you want start Scalala console without explicitly import those package, then maybe you need build a excutable jar directly from the GitHub repo.
The following steps should work:
git clone https://github.com/scalala/Scalala
cd Scalala
./sbt update compile proguard
java -jar target/scala_2.8.1/scalala_2.8.1-1.0.0.RC2-SNAPSHOT.min.jar
And now you should get an Scala console with Scalala package imported by default.
Since the document says the scalala console just a standard Scala console with default package imported.
You could just run
sbt
under your project directory, and usingconsole
command to enter Scala console mode.Finally, type in the following code:
Now you should be able to use Scalala just like the document sayas.