这是我的代码和相应的输出
> tkplot(g.2,vertex.label=nodes,
+ canvas.width=700,
+ canvas.height=700)
[1] 6
> ?tkplot
Warning message:
In rm(list = cmd, envir = .tkplot.env) : object 'tkp.6' not found
无论在构建和查看我的情节后运行什么命令,我都会收到此错误。
这可能很明显,但我无法从图中获取数据。
> tkp.6.getcoords
Error: object 'tkp.6.getcoords' not found
有什么想法吗?在 Windows 2007 专业版上。