User Tools

Site Tools


gibson:teaching:fall-2015:iam961:ijulia_howto

====== Differences ====== This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
gibson:teaching:fall-2015:iam961:ijulia_howto [2015/10/23 08:28]
gibson created
gibson:teaching:fall-2015:iam961:ijulia_howto [2015/10/23 09:50] (current)
gibson
Line 3: Line 3:
 1. Download the HW3 IJulia notebook file: {{:​gibson:​teaching:​fall-2015:​hw3.ipynb|}} 1. Download the HW3 IJulia notebook file: {{:​gibson:​teaching:​fall-2015:​hw3.ipynb|}}
  
-2. Start Julia. For me, it's like this. +2. Start Julia in the directory containing the notbook file. For me on Linux, it's like this. 
  
 <​code> ​ <​code> ​
 +gibson@timaeus$ ls
 +hw3.ipynb
 gibson@timaeus$ ~/​packages/​julia-0.4.0/​bin/​julia gibson@timaeus$ ~/​packages/​julia-0.4.0/​bin/​julia
                _                _
Line 21: Line 23:
  
 <​code>​ <​code>​
-julia> exit() 
-gibson@timaeus$ ~/​packages/​julia-0.4.0/​bin/​julia 
-               _ 
-   ​_ ​      _ _(_)_     ​| ​ A fresh approach to technical computing 
-  (_)     | (_) (_)    |  Documentation:​ http://​docs.julialang.org 
-   _ _   _| |_  __ _   ​| ​ Type "?​help"​ for help. 
-  | | | | | | |/ _` |  | 
-  | | |_| | | | (_| |  |  Version 0.4.0 (2015-10-08 06:20 UTC) 
- _/ |\__'​_|_|_|\__'​_| ​ |  Official http://​julialang.org/​ release 
-|__/                   ​| ​ x86_64-unknown-linux-gnu 
- 
 julia> Pkg.add("​IJulia"​) julia> Pkg.add("​IJulia"​)
 INFO: Nothing to be done INFO: Nothing to be done
Line 47: Line 38:
 </​code>​ </​code>​
  
-4. That should open up +4. That should open up an IJulia notebook in a browser. Click on ''​hw3.ipynb''​ and start filling in the cells with Julia code. Hit "​shift-enter"​ to execute the code after you've typed it in.
  
gibson/teaching/fall-2015/iam961/ijulia_howto.1445614107.txt.gz · Last modified: 2015/10/23 08:28 by gibson