[graph-tool] calling graph-tool from R using reticulate

sam sam.gyetvay at gmail.com
Fri Jul 10 23:17:52 CEST 2020


has anyone had any luck running graph-tool from R(Studio) using the
reticulate package?

when i try the following, RStudio crashes immediately:

library(reticulate)

use_condaenv("gt")
py_install("graph-tool") 

source_python(file.path(PYTHON_CODE, "fit_sbm.py"))

gt is a conda environment where i have graph-tool installed. for some reason
reticulate would give an error "module graph-tool not available" when i
would run it, hence the py_install command



--
Sent from: https://nabble.skewed.de/


More information about the graph-tool mailing list