Tricks&help: update

This commit is contained in:
2024-05-12 19:10:03 +02:00
parent 5df19af383
commit cbfdbaa4eb
4 changed files with 10 additions and 30 deletions

View File

@@ -1,7 +1,5 @@
# Arbeit mit Julia: REPL, Pakete, Introspection
## Dokumentation
Die offizielle Julia-Dokumentation [https://docs.julialang.org/](https://docs.julialang.org/) enthält zahlreiche Übersichten, darunter:
@@ -32,7 +30,7 @@ Der REPL hat verschiedene Modi:
| Modus | Prompt | Modus starten | Modus verlassen |
| :- | :- | :- | :- |
| default| `julia>` | | `Ctrl-d`|
| default| `julia>` | | `Ctrl-d` (beendet Julia) |
| Package manager | `pkg>` | `]` | `backspace` |
| Help | `help?>` | `?`| `backspace `|
|Shell | `shell>` | `;` | `backspace`|
@@ -114,11 +112,12 @@ Wichtiger Teil des _Julia Ecosystems_ sind die zahlreichen Pakete, die Julia erw
- Im Normalfall sieht das so aus:
```
(@v1.8) pkg> status
Status `~/.julia/environments/v1.8/Project.toml`
[1dea7af3] OrdinaryDiffEq v6.7.1
[91a5bcdd] Plots v1.27.1
[438e738f] PyCall v1.93.1
(@v1.10) pkg> status
Status `~/.julia/environments/v1.10/Project.toml`
[6e4b80f9] BenchmarkTools v1.5.0
[5fb14364] OhMyREPL v0.5.24
[91a5bcdd] Plots v1.40.4
[295af30f] Revise v3.5.14
```
- Man kann für verschiedene Projekte eigene `environments` benutzen. Dazu kann man entweder Julia mit