Skip to content

austin-putz/Julia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Julia

Please see the official docs for Julia here: Official Julia Docs

Make sure to softlink your newest julia version to your ~/bin folder on Mac/Linux so you can access julia with simply 'julia' on the command line. Use the command line to add your bin folder if you haven't already.

# if it doesn't exist:
mkdir bin 
# move into bin
cd bin

Soft link the Julia program in your bin, then you can run julia from anywhere.

I think on Mac I used the following.

# soft link
ln -s /Applications/Julia-1.8.app/Contents/Resources/julia/bin/julia julia

Of course change the path to your current version (i.e. update 1.8 if needed).

On Linux (Ubuntu) I add this line to my .bash_profile:

alias julia='/home/amputz/bin/julia-0.7.0/bin/julia'

finally add this line to your .bash_profile if you haven't already (adds to your PATH so it can search executables):

export PATH=$HOME/bin:$PATH

Stream Editing

I wrote a stream editor in the file stream_editor.jl. You can replace your file name and your dictionary to search and replace line by line with Julia.

Run the script like this:

julia stream_editor.jl

Animal Breeding

makeA.jl

Used to create the A matrix, adopted from Gota Morota's R function.

chapter3.jl

Code for chapter 3 of Mrodes book. Solve the basic animal model MME with Julia!

Releases

No releases published

Packages

 
 
 

Languages