Skip to content

Commit 9b91f6a

Browse files
committed
Add juliCall
1 parent dc1d85f commit 9b91f6a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

demo.qmd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
library(sf)
99
sf::write_sf(spData::world, "world.gpkg")
1010
plot(spData::world)
11+
julia = JuliaCall::julia_setup() # setup Julia
1112
```
1213

1314
## Python
@@ -22,7 +23,7 @@ world.plot()
2223
## Julia
2324

2425
```{julia}
25-
#| echo: true
26+
import Pkg; Pkg.add("GeoDataFrames")
2627
using GeoDataFrames
2728
world = GeoDataFrames.read("world.gpkg")
2829
```

index.qmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,5 @@ Activate the Julia environment:
6363
using Pkg
6464
Pkg.activate(".")
6565
Pkg.instantiate()
66+
Pkg.add("GeoDataFrames")
6667
```

0 commit comments

Comments
 (0)