Julia: Difference between revisions
No edit summary |
No edit summary |
||
Line 99: | Line 99: | ||
Pkg.activate(@__DIR__); | Pkg.activate(@__DIR__); | ||
Pkg.update(); | Pkg.update(); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 111: | Line 106: | ||
* <code>remove [packagename]</code> Remove a package | * <code>remove [packagename]</code> Remove a package | ||
* <code>status</code> Show the current Pkg directory and installed packages | * <code>status</code> Show the current Pkg directory and installed packages | ||
===String Interpolation=== | |||
<syntaxhighlight lang="julia"> | |||
"Variable x is $x, y is $y, and x+y is $(x+y)" | |||
</syntaxhighlight> | |||
===Arrays=== | ===Arrays=== |