Skip to content

kescobo/intro_julia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Workshop for learning julia

By Kevin Bonham, PhD

Getting started

To use the examples in this notebook, you must have julia installed. You may copy the examples into the julia REPL, or run them from the included jupyter notebook (assuming you have jupyter installed).

Download this repository

If you're familiar with git, you can simply clone this repository.

$ git clone <URL>
$ cd intro_julia

Alternatively, download the zip file from github and decompress it.

Activate and Instantiate the environment

The Project.toml and Manifest.toml files ensure that you can get the same environment that I used to create this repository. Assuming you downloaded the folder into your Downloads directory, (note: this may be different on Wondows machines)

julia> cd(expanduser("~/Downloads/intro_julia"))

Then, we'll activate the current folder environment and instantiate it to get all the packages we'll need.

julia> Pkg.activate("./")
"/Users/kev/computation/julia_playground/intro_julia/Project.toml"

julia> Pkg.instantiate()
  Updating registry at `~/.julia/registries/General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
  # ...

Additional Resources