Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Layout_igraph_matrix' function not found #46

Closed
soedr opened this issue Feb 18, 2018 · 1 comment
Closed

'Layout_igraph_matrix' function not found #46

soedr opened this issue Feb 18, 2018 · 1 comment

Comments

@soedr
Copy link

soedr commented Feb 18, 2018

First off, thank you for making this package available, looking forward to using it.

Running through the example on your blog, I run into the following issue after calling:

> graph <- create_notable('zachary') %>% 
+  mutate(ranking = node_rank_leafsort())
> ggraph(graph, 'matrix') + 
+  geom_edge_point(mirror = TRUE) + 
+  theme_graph() + 
+  coord_fixed()
Error in layout_igraph_matrix(list(34, FALSE, c(1, 2, 3, 4, 5, 6, 7, 8,  : 
  could not find function "layout_igraph_matrix"

Did I miss something?

Session Info:

> sessionInfo()
R version 3.4.3 (2017-11-30)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS High Sierra 10.13.3

Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] bindrcpp_0.2    ggraph_1.0.1    ggplot2_2.2.1   tidygraph_1.1.0

loaded via a namespace (and not attached):
 [1] gtools_3.5.0       modeltools_0.2-21  kernlab_0.9-25     purrr_0.2.4        lattice_0.20-35   
 [6] colorspace_1.3-2   stats4_3.4.3       viridisLite_0.3.0  yaml_2.1.16        rlang_0.1.6       
[11] pillar_1.1.0       prabclus_2.2-6     glue_1.2.0         tweenr_0.1.5       registry_0.5      
[16] fpc_2.1-11         foreach_1.4.4      bindr_0.1          plyr_1.8.4         robustbase_0.92-8 
[21] munsell_0.4.3      gtable_0.2.0       mvtnorm_1.0-7      caTools_1.17.1     codetools_0.2-15  
[26] seriation_1.2-3    class_7.3-14       flexmix_2.3-14     DEoptimR_1.0-8     trimcluster_0.1-2 
[31] Rcpp_0.12.15       KernSmooth_2.23-15 udunits2_0.13      diptest_0.75-7     scales_0.5.0      
[36] gdata_2.18.0       gplots_3.0.1       gridExtra_2.3      ggforce_0.1.1      digest_0.6.15     
[41] gclus_1.3.1        dplyr_0.7.4        ggrepel_0.7.0      grid_3.4.3         tools_3.4.3       
[46] bitops_1.0-6       magrittr_1.5       lazyeval_0.2.1     tibble_1.4.2       cluster_2.0.6     
[51] tidyr_0.8.0        whisker_0.3-2      pkgconfig_2.0.1    dendextend_1.7.0   MASS_7.3-47       
[56] assertthat_0.2.0   viridis_0.5.0      iterators_1.0.9    R6_2.2.2           TSP_1.1-5         
[61] mclust_5.4         nnet_7.3-12        units_0.5-1        igraph_1.1.2       compiler_3.4.3
@thomasp85
Copy link
Owner

I did not mention it in the blog post but the graphics depend on the development version of ggraph - install From thomasp85/ggraph

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants