Jump to content

Julia: Difference between revisions

329 bytes added ,  13 September 2019
no edit summary
No edit summary
No edit summary
Line 20: Line 20:
===Package Management===
===Package Management===
[https://www.simonwenkel.com/2018/10/06/a-brief-introduction-to-package-management-with-julia.html Guide]
[https://www.simonwenkel.com/2018/10/06/a-brief-introduction-to-package-management-with-julia.html Guide]
Initializing a new project
====Initializing a new project====
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
cd project_folder
cd project_folder
Line 28: Line 28:
</syntaxhighlight>
</syntaxhighlight>


Loading an existing project
====Loading an existing project====
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
cd project_folder
cd project_folder
Line 40: Line 40:
"Variable x is $x, y is $y, and x+y is $(x+y)"
"Variable x is $x, y is $y, and x+y is $(x+y)"
</syntaxhighlight>
</syntaxhighlight>
====Other Pkg Commands====
You can see all the commands by typing <code>?</code> in the package manager.
* <code>update [packagename]</code> Update a specific package or all packages
* <code>remove [packagename]</code> Remove a package
* <code>status</code> Show the current Pkg directory and installed packages


===Arrays===
===Arrays===