我在過去獲得了tkplot here中繪製的網絡座標圖的一些幫助。現在我再次陷入困境。Igraph座標中的另一個問題R
以下是新會話的輸出。
> g <- graph.data.frame(edges, directed=T, vertices=vert)
> summary(g)
Vertices: 436
Edges: 1856
Directed: TRUE
No graph attributes.
Vertex attributes: name.
No edge attributes.
> tkplot(g, vertex.label=vert$label)
Loading required package: tcltk
Loading Tcl/Tk interface ... done
[1] 1
但是當我嘗試這個,我正在和錯誤:
> lay <- tkplot.getcoords(1)
Error in eval(expr, envir, enclos) : object 'tkp.1' not found
我相信這是由於我缺乏對題目的知識,但我缺少什麼?
在此先感謝
您可能會多次運行該命令並關閉一些窗口,以便tkp.1尚未打開。最好 – user299791 2014-01-23 10:16:58