My goal is to create an interactive graph:
tkid <- tkplot(my_igraph_network_object)
l <- tkplot.getcoords(tkid)
plot(net, layout=l)
Which yields an error in the first line: "Error in tkplot(net) : tcl/tk library not available."
I tried to install the package manually:
install.packages("tcltk")
Running that line returned two warnings: 1.) "Warning in install.packages : package ‘tcltk’ is not available (for R version 3.3.0)", 2.) "Warning in install.packages : package ‘tcltk’ is a base package, and should not be updated"
Platform: x86_64-apple-darwin13.4.0.
R version: 3.3.0 (2016-05-03).
Also I noticed there is a similar question here, but the difference is that I need the igraph package.
Does someone have an idea how to deal with this error?
[Edit 1 @ 20160517] Also I was notified that it is a duplicate of this question, however the error message I get seems different. I tried the answers that were provided for this question, however, those don't seem to get me closer to fixing it.