Skip to content

Commit 9041f3b

Browse files
committed
use r5r with gui
1 parent b5e4005 commit 9041f3b

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

code/r5r_gui.R

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
devtools::install_github("e-kotov/r5rgui")
2+
3+
options(java.parameters = '-Xmx16G') # RAM to 16GB
4+
library(r5r)
5+
library(r5rgui)
6+
# r5r_gui_demo()
7+
8+
data_path <- "data/Lisbon/r5r/"
9+
r5r_network <- build_network(data_path = data_path, verbose = FALSE)
10+
r5r_gui(r5r_network, center = c(-9.13, 38.73), zoom = 13)
11+

0 commit comments

Comments
 (0)